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.001298/0.001298, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001394/0.001394, allocations: 169 kB / 23.27 MB, free: 1.223 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.8909/0.8909, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.001632/0.001632, allocations: 249.5 kB / 260.5 MB, free: 12.66 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.6616/0.6616, allocations: 138.4 MB / 455.5 MB, free: 1.418 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.262e-06/1.262e-06, allocations: 3.938 kB / 0.5556 GB, free: 316 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.063e-05, allocations: 2.312 kB / 0.5556 GB, free: 312 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001752/0.001763, allocations: 1.505 MB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.002283, allocations: 466.8 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.002328, allocations: 0 / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.002351, allocations: 3.938 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.002415, allocations: 11.86 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.002524, allocations: 27.91 kB / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.157e-05/0.002586, allocations: 51.84 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.002657, allocations: 8 kB / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.002712, allocations: 31.89 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.002764, allocations: 19.92 kB / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.00278, allocations: 8 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.002788, allocations: 4 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.002805, allocations: 7.984 kB / 0.5576 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.00283, allocations: 23.91 kB / 0.5577 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.202e-05/0.002902, allocations: 31.89 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002903, allocations: 0 / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002904, allocations: 0 / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.002907, allocations: 4 kB / 0.5577 GB, free: 14.09 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.0002811/0.003188, allocations: 380.5 kB / 0.5581 GB, free: 13.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.003222, allocations: 8.75 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.00325, allocations: 24.88 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.524e-05/0.003315, allocations: 112.5 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.003325, allocations: 4.375 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.003333, allocations: 8.375 kB / 0.5582 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.998e-05/0.003393, allocations: 46.23 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.003398, allocations: 192 / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.003405, allocations: 4.375 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.003409, allocations: 3.938 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.003433, allocations: 15.92 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.003666, allocations: 276.3 kB / 0.5585 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.669e-05/0.003723, allocations: 51.08 kB / 0.5586 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.003739, allocations: 11.78 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.003746, allocations: 7.938 kB / 0.5586 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/0.003821, allocations: 77.02 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.003822, allocations: 0 / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001253/0.003948, allocations: 93.5 kB / 0.5588 GB, free: 12.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.003974, allocations: 55.41 kB / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/0.004026, allocations: 161.9 kB / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.004038, allocations: 33.7 kB / 0.559 GB, free: 12.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.004075, allocations: 134.8 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.004093, allocations: 23.84 kB / 0.5592 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.004125, allocations: 35.34 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.004223, allocations: 0.4884 MB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.004234, allocations: 7.938 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.004264, allocations: 50.72 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.004311, allocations: 62.67 kB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004313, allocations: 7.938 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.247e-05/0.004385, allocations: 77.84 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.004395, allocations: 11 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.004403, allocations: 15.95 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.004411, allocations: 0 / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.004455, allocations: 15.94 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.004457, allocations: 0 / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.004487, allocations: 11.89 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.004493, allocations: 8 kB / 0.5599 GB, free: 11.58 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 6.017e-05/0.004553, allocations: 168.5 kB / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.004562, allocations: 7.938 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.004579, allocations: 8.125 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.004581, allocations: 8 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.004582, allocations: 0 / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004585, allocations: 0 / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.004783, allocations: 321.9 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.004784, allocations: 0 / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.004796, allocations: 7.938 kB / 0.5604 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.004797, allocations: 0 / 0.5604 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.004802, allocations: 3.984 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.004805, allocations: 8.062 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.004806, allocations: 0 / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.152e-05/0.004897, allocations: 231.8 kB / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.004906, allocations: 11.88 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-06/0.004914, allocations: 0 / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.004953, allocations: 4 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.004985, allocations: 11.98 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.004989, allocations: 0 / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.005028, allocations: 127.2 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005028, allocations: 0 / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.005234, allocations: 12 kB / 0.5608 GB, free: 10.61 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 6.206e-05/0.005296, allocations: 102.9 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.996e-05/0.005366, allocations: 47.59 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005368, allocations: 0 / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.005397, allocations: 27.62 kB / 0.561 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.005568, allocations: 20.08 kB / 0.561 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.005769, allocations: 166 kB / 0.5612 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.005797, allocations: 55.36 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.005818, allocations: 11.92 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.005866, allocations: 82.27 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.005867, allocations: 7.938 kB / 0.5613 GB, free: 10.03 MB / 490.7 MB Notification: Performance of Templates: time 0.002053/0.007919, allocations: 0.8989 MB / 0.5622 GB, free: 9.141 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.2344266548752785]