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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009021/0.0009021, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9021/0.9021, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001618/0.001618, allocations: 240.8 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6901/0.6901, allocations: 138.4 MB / 455.5 MB, free: 1.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.943e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.005187/0.005207, allocations: 1.517 MB / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.00588, allocations: 474.7 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.005919, allocations: 0 / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.005948, allocations: 7.922 kB / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.006028, allocations: 11.92 kB / 0.557 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.006164, allocations: 19.92 kB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.006252, allocations: 47.84 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.006345, allocations: 11.98 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.006413, allocations: 31.97 kB / 0.5571 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.006471, allocations: 15.92 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.006492, allocations: 4 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.006502, allocations: 4 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.006524, allocations: 11.97 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.006567, allocations: 19.92 kB / 0.5571 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.251e-05/0.00666, allocations: 35.83 kB / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006661, allocations: 0 / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006662, allocations: 4 kB / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.006665, allocations: 0 / 0.5572 GB, free: 14.67 MB / 490.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.0003889/0.007054, allocations: 392.5 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.007089, allocations: 8.75 kB / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.01015, allocations: 12.89 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.01024, allocations: 108.6 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.01026, allocations: 4.375 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.01027, allocations: 8.375 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.01036, allocations: 54.17 kB / 0.5577 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.01037, allocations: 192 / 0.5577 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.01038, allocations: 384 / 0.5577 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.01039, allocations: 3.938 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.01043, allocations: 19.98 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.0108, allocations: 291.7 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.01088, allocations: 51.11 kB / 0.5581 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.01092, allocations: 23.64 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.01093, allocations: 0 / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.01103, allocations: 81.06 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.01103, allocations: 0 / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.000199/0.01123, allocations: 93.84 kB / 0.5583 GB, free: 13.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.01127, allocations: 55.41 kB / 0.5583 GB, free: 13.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.01134, allocations: 165.9 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.01136, allocations: 33.7 kB / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.01142, allocations: 134.8 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.01144, allocations: 27.78 kB / 0.5587 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.01149, allocations: 31.38 kB / 0.5587 GB, free: 12.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01159, allocations: 0.4923 MB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.01162, allocations: 8 kB / 0.5592 GB, free: 12.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.01166, allocations: 50.73 kB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.01174, allocations: 74.61 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01174, allocations: 0 / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001186/0.01186, allocations: 97.48 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01187, allocations: 4 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01187, allocations: 0 / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01189, allocations: 4 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.01196, allocations: 16.06 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01197, allocations: 3.984 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.01201, allocations: 7.953 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.01202, allocations: 4 kB / 0.5594 GB, free: 12.11 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,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 7.102e-05/0.01209, allocations: 164.5 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.0121, allocations: 15.97 kB / 0.5596 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.01213, allocations: 8.125 kB / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01213, allocations: 4 kB / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01213, allocations: 3.984 kB / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01214, allocations: 0 / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.01242, allocations: 349.3 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01242, allocations: 0 / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.01244, allocations: 4 kB / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01244, allocations: 0 / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.01244, allocations: 0 / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01245, allocations: 0 / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01245, allocations: 4 kB / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.01258, allocations: 236.1 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-06/0.01259, allocations: 7.891 kB / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.0126, allocations: 7.984 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.01266, allocations: 7.984 kB / 0.5602 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.0127, allocations: 7.984 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01271, allocations: 4 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.906e-05/0.01279, allocations: 127.1 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01279, allocations: 0 / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003239/0.01603, allocations: 16 kB / 0.5604 GB, free: 11.09 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 () * 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 8.011e-05/0.01611, allocations: 99.23 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01622, allocations: 51.61 kB / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01622, allocations: 0 / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.01626, allocations: 31.61 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01652, allocations: 24.02 kB / 0.5605 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.01681, allocations: 162.1 kB / 0.5607 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.01685, allocations: 59.34 kB / 0.5608 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.01687, allocations: 12 kB / 0.5608 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.01691, allocations: 12.5 kB / 0.5608 GB, free: 10.58 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01691, allocations: 0 / 0.5608 GB, free: 10.58 MB / 490.7 MB Notification: Performance of Templates: time 0.00655/0.02346, allocations: 0.832 MB / 0.5616 GB, free: 9.762 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3956546471454203]