Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 105.2 kB / 16.36 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001569/0.00157, allocations: 67.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2622, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002734/0.265, allocations: 1.484 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007851/0.2658, allocations: 479.7 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2659, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.2659, allocations: 7.922 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.266, allocations: 3.938 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.2661, allocations: 23.92 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.2662, allocations: 59.83 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2664, allocations: 11.98 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.2664, allocations: 23.94 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.2665, allocations: 23.84 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.2665, allocations: 4 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.2666, allocations: 4 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.2666, allocations: 11.98 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.2666, allocations: 27.86 kB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2667, allocations: 35.88 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2668, allocations: 4 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2668, allocations: 0 / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.2668, allocations: 0 / 0.7869 GB, free: 0.9961 MB / 0.6544 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.0005192/0.2673, allocations: 367.4 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2673, allocations: 8.031 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2674, allocations: 8.844 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2675, allocations: 168.3 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2675, allocations: 4.312 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2676, allocations: 8.375 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2677, allocations: 61.98 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2677, allocations: 3.938 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2677, allocations: 4 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2677, allocations: 0 / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.2678, allocations: 23.98 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4026/0.6704, allocations: 303.3 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6706, allocations: 57.61 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.6707, allocations: 27.44 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.6707, allocations: 0 / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.6709, allocations: 77.61 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.671, allocations: 3.625 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002293/0.6712, allocations: 94.84 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.6712, allocations: 60.97 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.6713, allocations: 107.3 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.6713, allocations: 29.83 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.6714, allocations: 83.98 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.6714, allocations: 29.06 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.6714, allocations: 28.47 kB / 0.7884 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.6715, allocations: 318.2 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.6715, allocations: 16.53 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.6716, allocations: 46.7 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.6717, allocations: 65.69 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6717, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001219/0.6718, allocations: 99.25 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6718, allocations: 10.06 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6718, allocations: 3.938 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6719, allocations: 0 / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.6719, allocations: 13.81 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.6719, allocations: 5.531 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.672, allocations: 6.281 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.672, allocations: 6.438 kB / 0.789 GB, free: 47.94 MB / 0.6544 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 6.807e-05/0.6721, allocations: 122.1 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.6721, allocations: 9.875 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.6722, allocations: 6.844 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6722, allocations: 3.375 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6722, allocations: 0 / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.6722, allocations: 86.27 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.6722, allocations: 6.531 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.6723, allocations: 7.281 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.6723, allocations: 4.031 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001606/0.6725, allocations: 171.7 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001289/0.6726, allocations: 257.4 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.287e-05/0.6727, allocations: 25.47 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.678e-05/0.6727, allocations: 85.06 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/0.6727, allocations: 0 / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.6731, allocations: 115.4 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004247/0.6735, allocations: 0.5764 MB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002772/0.6763, allocations: 0.7878 MB / 0.7912 GB, free: 46.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)