Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 180 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5223/0.5223, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008132/0.0008133, allocations: 101.3 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.745e-05, allocations: 4 kB / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4223, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.549, allocations: 102.1 MB / 0.6599 GB, free: 2.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.5492, allocations: 67.97 kB / 0.66 GB, free: 2.164 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003019/0.5523, allocations: 1.127 MB / 0.6611 GB, free: 1.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5523, allocations: 0 / 0.6611 GB, free: 1.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.5523, allocations: 4 kB / 0.6611 GB, free: 1.051 MB / 474.7 MB 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.0004075/0.5527, allocations: 354.4 kB / 0.6614 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.5528, allocations: 15.92 kB / 0.6614 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.5528, allocations: 11.86 kB / 0.6614 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.553, allocations: 167 kB / 0.6616 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.553, allocations: 8 kB / 0.6616 GB, free: 432 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.553, allocations: 4 kB / 0.6616 GB, free: 428 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5532, allocations: 62.7 kB / 0.6617 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5532, allocations: 0 / 0.6617 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5532, allocations: 0 / 0.6617 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5532, allocations: 0 / 0.6617 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.5533, allocations: 27.95 kB / 0.6617 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.5538, allocations: 300.8 kB / 0.662 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.5539, allocations: 55.5 kB / 0.662 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.554, allocations: 29.16 kB / 0.6621 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.554, allocations: 3.938 kB / 0.6621 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.5542, allocations: 75.34 kB / 0.6621 GB, free: 15.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.5542, allocations: 0 / 0.6621 GB, free: 15.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002012/0.5544, allocations: 88.06 kB / 0.6622 GB, free: 15.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.5544, allocations: 51.41 kB / 0.6623 GB, free: 15.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.5545, allocations: 101 kB / 0.6624 GB, free: 15.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.5545, allocations: 29.7 kB / 0.6624 GB, free: 15.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.5546, allocations: 88.05 kB / 0.6625 GB, free: 15.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5546, allocations: 19.8 kB / 0.6625 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5546, allocations: 4 kB / 0.6625 GB, free: 15.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5548, allocations: 318.8 kB / 0.6628 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.5548, allocations: 20 kB / 0.6628 GB, free: 15.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.5549, allocations: 35.44 kB / 0.6629 GB, free: 15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.5549, allocations: 27.92 kB / 0.6629 GB, free: 14.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5549, allocations: 0 / 0.6629 GB, free: 14.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00013/0.5551, allocations: 96.08 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5551, allocations: 11.98 kB / 0.663 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5551, allocations: 3.938 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5551, allocations: 4 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.5552, allocations: 15.94 kB / 0.663 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5552, allocations: 0 / 0.663 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.5553, allocations: 15.92 kB / 0.663 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5553, allocations: 0 / 0.663 GB, free: 14.83 MB / 490.7 MB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/0.5554, allocations: 109 kB / 0.6631 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.5554, allocations: 12.94 kB / 0.6632 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.5554, allocations: 12.05 kB / 0.6632 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5554, allocations: 4 kB / 0.6632 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5554, allocations: 0 / 0.6632 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5555, allocations: 4.266 kB / 0.6632 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.5559, allocations: 351.1 kB / 0.6635 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5559, allocations: 0 / 0.6635 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.5559, allocations: 15.89 kB / 0.6635 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.5559, allocations: 3.984 kB / 0.6635 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5559, allocations: 4 kB / 0.6635 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5559, allocations: 0 / 0.6635 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5559, allocations: 2.438 kB / 0.6635 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.5561, allocations: 179.4 kB / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.5562, allocations: 77.11 kB / 0.6638 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5562, allocations: 16.02 kB / 0.6638 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.5563, allocations: 11.98 kB / 0.6638 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5563, allocations: 7.984 kB / 0.6638 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.5563, allocations: 4 kB / 0.6638 GB, free: 13.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.5564, allocations: 83.28 kB / 0.6639 GB, free: 13.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5564, allocations: 0 / 0.6639 GB, free: 13.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000215/0.5566, allocations: 12 kB / 0.6639 GB, free: 13.84 MB / 490.7 MB 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 () * 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 (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 0.00011/0.5567, allocations: 102 kB / 0.664 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.5569, allocations: 55.94 kB / 0.6641 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5569, allocations: 0 / 0.6641 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.5569, allocations: 25.06 kB / 0.6641 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.5571, allocations: 14.56 kB / 0.6641 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.5575, allocations: 116.7 kB / 0.6642 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.5578, allocations: 0.6927 MB / 0.6649 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.077e-05/0.5578, allocations: 7.984 kB / 0.6649 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.5578, allocations: 11.44 kB / 0.6649 GB, free: 12.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5578, allocations: 2.438 kB / 0.6649 GB, free: 12.77 MB / 490.7 MB Notification: Performance of Templates: time 0.002492/0.5603, allocations: 0.6538 MB / 0.6655 GB, free: 12.13 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)