Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8121/0.8121, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.8 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 276.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.226e-05/1.228e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4536, allocations: 108.5 MB / 0.8634 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4539, allocations: 80.59 kB / 0.8634 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003013/0.4569, allocations: 1.122 MB / 0.8645 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4569, allocations: 0 / 0.8645 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.457, allocations: 0 / 0.8645 GB, free: 2.125 MB / 0.5261 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.0003971/0.4574, allocations: 354.4 kB / 0.8649 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4574, allocations: 8.031 kB / 0.8649 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.4575, allocations: 8 kB / 0.8649 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4576, allocations: 167 kB / 0.865 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4576, allocations: 15.88 kB / 0.8651 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.4577, allocations: 4 kB / 0.8651 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.739e-05/0.4578, allocations: 20 kB / 0.8651 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.4579, allocations: 49.62 kB / 0.8651 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4579, allocations: 0 / 0.8651 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4579, allocations: 0 / 0.8651 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4579, allocations: 7.938 kB / 0.8651 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.4584, allocations: 281.3 kB / 0.8654 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.4585, allocations: 46.61 kB / 0.8654 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.4585, allocations: 21.05 kB / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4585, allocations: 8 kB / 0.8655 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.4587, allocations: 67.42 kB / 0.8655 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.4587, allocations: 0 / 0.8655 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000177/0.4589, allocations: 77.53 kB / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4589, allocations: 59.39 kB / 0.8657 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.459, allocations: 93 kB / 0.8658 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.459, allocations: 29.7 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.4591, allocations: 88.14 kB / 0.8659 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.4591, allocations: 23.69 kB / 0.8659 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4591, allocations: 0 / 0.8659 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4592, allocations: 318.8 kB / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.4593, allocations: 16 kB / 0.8662 GB, free: 208 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.4593, allocations: 43.36 kB / 0.8662 GB, free: 152 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.4594, allocations: 23.98 kB / 0.8663 GB, free: 128 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4594, allocations: 0 / 0.8663 GB, free: 128 kB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001294/0.4595, allocations: 81.53 kB / 0.8663 GB, free: 40 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4595, allocations: 9.344 kB / 0.8664 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4595, allocations: 4 kB / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4595, allocations: 288 / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4596, allocations: 11.98 kB / 0.8664 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4596, allocations: 4 kB / 0.8664 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.4597, allocations: 12.11 kB / 0.8664 GB, free: 16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4597, allocations: 19.94 kB / 0.8664 GB, free: 15.98 MB / 0.5417 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,$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.411e-05/0.4598, allocations: 121.5 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.4598, allocations: 0 / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.4599, allocations: 12.41 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4599, allocations: 0 / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4599, allocations: 0 / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4599, allocations: 0 / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.4603, allocations: 330.9 kB / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4603, allocations: 0 / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.4603, allocations: 4 kB / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4603, allocations: 0 / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.4603, allocations: 0 / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4603, allocations: 4 kB / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4603, allocations: 0 / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.4605, allocations: 179.4 kB / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.4605, allocations: 81.02 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.4606, allocations: 4 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.4606, allocations: 7.984 kB / 0.8671 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.4607, allocations: 11.98 kB / 0.8671 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4607, allocations: 0 / 0.8671 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.4608, allocations: 79.28 kB / 0.8672 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4608, allocations: 0 / 0.8672 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002181/0.461, allocations: 20 kB / 0.8672 GB, free: 15.06 MB / 0.5417 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 () * 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 8.663e-05/0.4611, allocations: 100.5 kB / 0.8673 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4612, allocations: 47.92 kB / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4612, allocations: 0 / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.4613, allocations: 28.12 kB / 0.8674 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.4614, allocations: 11.78 kB / 0.8674 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.4618, allocations: 111.8 kB / 0.8675 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.462, allocations: 0.6885 MB / 0.8682 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.773e-05/0.462, allocations: 4 kB / 0.8682 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.4621, allocations: 15.42 kB / 0.8682 GB, free: 14 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.4621, allocations: 3.938 kB / 0.8682 GB, free: 14 MB / 0.5417 GB Notification: Performance of Templates: time 0.002399/0.4645, allocations: 0.6349 MB / 0.8688 GB, free: 13.37 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)