Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") [/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.1647/0.1667, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00276/0.1695, allocations: 1.475 MB / 0.672 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.1703, allocations: 479.8 kB / 0.6725 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.1703, allocations: 0 / 0.6725 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.1704, allocations: 7.922 kB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.1705, allocations: 3.938 kB / 0.6725 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1706, allocations: 27.91 kB / 0.6725 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1707, allocations: 47.84 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1709, allocations: 15.98 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.1709, allocations: 19.94 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.171, allocations: 19.91 kB / 0.6726 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.171, allocations: 4 kB / 0.6726 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.171, allocations: 4 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.1711, allocations: 15.92 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.1711, allocations: 27.92 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1712, allocations: 39.77 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1712, allocations: 0 / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1712, allocations: 8 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.1713, allocations: 0 / 0.6727 GB, free: 15.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004993/0.1718, allocations: 367.3 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1718, allocations: 8.031 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.1718, allocations: 8.875 kB / 0.6731 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.172, allocations: 172.3 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.172, allocations: 384 / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.172, allocations: 8.375 kB / 0.6733 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1721, allocations: 69.92 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1721, allocations: 0 / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1722, allocations: 0 / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1722, allocations: 3.984 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.1722, allocations: 27.92 kB / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.1727, allocations: 292.8 kB / 0.6736 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1728, allocations: 62.59 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.1728, allocations: 20.95 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1728, allocations: 3.984 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.173, allocations: 71.34 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.173, allocations: 0 / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002063/0.1732, allocations: 97.61 kB / 0.6739 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1733, allocations: 59.41 kB / 0.6739 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.1734, allocations: 117.7 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1734, allocations: 25.7 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1734, allocations: 84.14 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.1735, allocations: 23.8 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.1735, allocations: 29.7 kB / 0.6742 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.1736, allocations: 322.8 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.1736, allocations: 19.94 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.1737, allocations: 47.36 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1738, allocations: 71.36 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1738, allocations: 0 / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001274/0.174, allocations: 97.95 kB / 0.6747 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.174, allocations: 4 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.174, allocations: 3.984 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.174, allocations: 8.031 kB / 0.6748 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.1741, allocations: 15.88 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1741, allocations: 3.984 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1742, allocations: 7.984 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1742, allocations: 8 kB / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.472e-05/0.1743, allocations: 118.4 kB / 0.6749 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.1743, allocations: 8.234 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1743, allocations: 7.969 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1744, allocations: 3.984 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1744, allocations: 4 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1744, allocations: 4 kB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1747, allocations: 366.3 kB / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1748, allocations: 0 / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.1748, allocations: 4 kB / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1748, allocations: 0 / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1748, allocations: 0 / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1748, allocations: 3.938 kB / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1748, allocations: 4 kB / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.175, allocations: 187.4 kB / 0.6755 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.175, allocations: 77.11 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.175, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.1751, allocations: 15.98 kB / 0.6756 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.1752, allocations: 11.98 kB / 0.6756 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1752, allocations: 4 kB / 0.6756 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.1752, allocations: 87.22 kB / 0.6757 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1752, allocations: 4 kB / 0.6757 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002236/0.1755, allocations: 12 kB / 0.6757 GB, free: 12.42 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.1e-05/0.1756, allocations: 99.23 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1757, allocations: 63.97 kB / 0.6758 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1757, allocations: 0 / 0.6758 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.1758, allocations: 24 kB / 0.6759 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1761, allocations: 17.02 kB / 0.6759 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.1765, allocations: 161.1 kB / 0.676 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1767, allocations: 0.6923 MB / 0.6767 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.1767, allocations: 4 kB / 0.6767 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1768, allocations: 11.44 kB / 0.6767 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1768, allocations: 0 / 0.6767 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.002672/0.1794, allocations: 0.7812 MB / 0.6775 GB, free: 10.53 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)