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.1713/0.172, allocations: 82.21 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00162/0.1737, allocations: 1.121 MB / 0.5945 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.1744, allocations: 456.9 kB / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.1745, allocations: 0 / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.1745, allocations: 0 / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.1746, allocations: 15.97 kB / 0.5949 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1748, allocations: 15.92 kB / 0.5949 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.1749, allocations: 31.95 kB / 0.5949 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.175, allocations: 4 kB / 0.595 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.175, allocations: 19.94 kB / 0.595 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.1751, allocations: 19.89 kB / 0.595 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1752, allocations: 4 kB / 0.595 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.1752, allocations: 0 / 0.595 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.1752, allocations: 4 kB / 0.595 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.1753, allocations: 37.64 kB / 0.595 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.654e-05/0.1754, allocations: 32.17 kB / 0.5951 GB, free: 4.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1754, allocations: 3.938 kB / 0.5951 GB, free: 4.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.1754, allocations: 0 / 0.5951 GB, free: 4.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1754, allocations: 3.938 kB / 0.5951 GB, free: 4.242 MB / 446.1 MB 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.000635/0.176, allocations: 388 kB / 0.5954 GB, free: 3.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1761, allocations: 16.03 kB / 0.5955 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1761, allocations: 3.906 kB / 0.5955 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1763, allocations: 175 kB / 0.5956 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1763, allocations: 8 kB / 0.5956 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1763, allocations: 3.953 kB / 0.5956 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1765, allocations: 49.62 kB / 0.5957 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1765, allocations: 0 / 0.5957 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1765, allocations: 4 kB / 0.5957 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1765, allocations: 4 kB / 0.5957 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.129e-05/0.1766, allocations: 15.98 kB / 0.5957 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.177, allocations: 272.8 kB / 0.596 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.1771, allocations: 46.5 kB / 0.596 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1771, allocations: 128 / 0.596 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1773, allocations: 101.1 kB / 0.5961 GB, free: 3.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1774, allocations: 4 kB / 0.5961 GB, free: 3 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003296/0.1777, allocations: 224.4 kB / 0.5963 GB, free: 2.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.1778, allocations: 77.11 kB / 0.5964 GB, free: 2.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.1779, allocations: 113.8 kB / 0.5965 GB, free: 2.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1779, allocations: 25.7 kB / 0.5965 GB, free: 2.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.178, allocations: 84.14 kB / 0.5966 GB, free: 2.418 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.178, allocations: 23.73 kB / 0.5966 GB, free: 2.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.178, allocations: 4 kB / 0.5966 GB, free: 2.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1781, allocations: 322.8 kB / 0.5969 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.1782, allocations: 15.98 kB / 0.597 GB, free: 2.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.1782, allocations: 34.86 kB / 0.597 GB, free: 2.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.1783, allocations: 53.62 kB / 0.597 GB, free: 1.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1783, allocations: 0 / 0.597 GB, free: 1.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001563/0.1784, allocations: 123.7 kB / 0.5972 GB, free: 1.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.1785, allocations: 44.2 kB / 0.5972 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1785, allocations: 3.984 kB / 0.5972 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1785, allocations: 0 / 0.5972 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.1786, allocations: 11.92 kB / 0.5972 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1786, allocations: 0 / 0.5972 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.1787, allocations: 12 kB / 0.5972 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1787, allocations: 4 kB / 0.5972 GB, free: 1.738 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.1788, allocations: 152.4 kB / 0.5974 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.1788, allocations: 11.91 kB / 0.5974 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.1789, allocations: 8.375 kB / 0.5974 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1789, allocations: 3.938 kB / 0.5974 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1789, allocations: 64 / 0.5974 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1789, allocations: 4 kB / 0.5974 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.1793, allocations: 396.2 kB / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1793, allocations: 3.984 kB / 0.5978 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-06/0.1793, allocations: 4 kB / 0.5978 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1793, allocations: 0 / 0.5978 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1794, allocations: 4 kB / 0.5978 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1794, allocations: 0 / 0.5978 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1794, allocations: 0 / 0.5978 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1796, allocations: 237 kB / 0.598 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1797, allocations: 81.11 kB / 0.5981 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1797, allocations: 4 kB / 0.5981 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1798, allocations: 11.98 kB / 0.5981 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1799, allocations: 15.97 kB / 0.5981 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1799, allocations: 4 kB / 0.5981 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.1799, allocations: 87.27 kB / 0.5982 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1799, allocations: 0 / 0.5982 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1802, allocations: 20 kB / 0.5982 GB, free: 0.5938 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.789e-05/0.1803, allocations: 99.23 kB / 0.5983 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1805, allocations: 119.3 kB / 0.5984 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1805, allocations: 4.125 kB / 0.5985 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1806, allocations: 83.39 kB / 0.5985 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1808, allocations: 19.94 kB / 0.5986 GB, free: 244 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.1812, allocations: 175.5 kB / 0.5987 GB, free: 44 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1815, allocations: 0.6926 MB / 0.5994 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.1815, allocations: 4 kB / 0.5994 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1815, allocations: 7.438 kB / 0.5994 GB, free: 15.32 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1815, allocations: 0 / 0.5994 GB, free: 15.32 MB / 462.1 MB Notification: Performance of Templates: time 0.00285/0.1844, allocations: 0.7308 MB / 0.6001 GB, free: 14.59 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: