Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2051/0.2076, allocations: 80.83 MB / 0.6706 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003924/0.2116, allocations: 1.423 MB / 0.672 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2128, allocations: 483.8 kB / 0.6724 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.2129, allocations: 3.938 kB / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.213, allocations: 3.938 kB / 0.6724 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2131, allocations: 19.91 kB / 0.6725 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.2133, allocations: 15.92 kB / 0.6725 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.2135, allocations: 47.86 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2136, allocations: 7.984 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.2137, allocations: 23.88 kB / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.2137, allocations: 27.89 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.2138, allocations: 4.047 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.2138, allocations: 4 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.2139, allocations: 7.938 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.2139, allocations: 19.88 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.2141, allocations: 47.77 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2141, allocations: 0 / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2141, allocations: 0 / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2141, allocations: 0 / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006992/0.2148, allocations: 397.1 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2148, allocations: 8.031 kB / 0.673 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.2149, allocations: 8.844 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2151, allocations: 172.3 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2151, allocations: 8.359 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2151, allocations: 4.375 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2152, allocations: 50 kB / 0.6733 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2153, allocations: 3.984 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2153, allocations: 0 / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2153, allocations: 4 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.2154, allocations: 23.98 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.2158, allocations: 268.8 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.2159, allocations: 42.5 kB / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.216, allocations: 20.98 kB / 0.6736 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.216, allocations: 4 kB / 0.6736 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.2162, allocations: 101.1 kB / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2162, allocations: 0 / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003216/0.2166, allocations: 147.2 kB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.2166, allocations: 85.11 kB / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.2167, allocations: 109.8 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2168, allocations: 25.7 kB / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.2168, allocations: 84.14 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.2169, allocations: 23.75 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.2169, allocations: 25.7 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.217, allocations: 326.8 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.2171, allocations: 19.94 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.2171, allocations: 38.56 kB / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2172, allocations: 114 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2172, allocations: 0 / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001592/0.2174, allocations: 131.1 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.2175, allocations: 37.7 kB / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2175, allocations: 0 / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2175, allocations: 0 / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.2176, allocations: 4 kB / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2176, allocations: 3.984 kB / 0.6748 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.2176, allocations: 8 kB / 0.6749 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2177, allocations: 4.062 kB / 0.6749 GB, free: 13.37 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.2178, allocations: 152.1 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.2178, allocations: 7.906 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.2179, allocations: 12.38 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.2179, allocations: 0 / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.2179, allocations: 0 / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2179, allocations: 0 / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.2183, allocations: 400.1 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2183, allocations: 4 kB / 0.6754 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.2183, allocations: 3.938 kB / 0.6754 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2183, allocations: 3.984 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2184, allocations: 4 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2184, allocations: 384 / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2184, allocations: 0 / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.2186, allocations: 237 kB / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.2187, allocations: 77.11 kB / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2187, allocations: 7.938 kB / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2188, allocations: 15.98 kB / 0.6757 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.2188, allocations: 11.92 kB / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2189, allocations: 4 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.2189, allocations: 87.28 kB / 0.6758 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2189, allocations: 0 / 0.6758 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002242/0.2192, allocations: 15.94 kB / 0.6759 GB, free: 12.22 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.547e-05/0.2193, allocations: 107.2 kB / 0.676 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.2195, allocations: 120.2 kB / 0.6761 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2195, allocations: 0 / 0.6761 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.2196, allocations: 95.33 kB / 0.6762 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2199, allocations: 15.98 kB / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.2202, allocations: 165.2 kB / 0.6763 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2205, allocations: 0.6925 MB / 0.677 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.2205, allocations: 7.984 kB / 0.677 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.2206, allocations: 7.438 kB / 0.677 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.2206, allocations: 4 kB / 0.677 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of Templates: time 0.003191/0.2238, allocations: 0.8757 MB / 0.6779 GB, free: 10.07 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)