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.001859/0.001859, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002393/0.002393, allocations: 210.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.002611/0.002611, allocations: 289.8 kB / 312.7 MB, free: 2.59 MB / 238.1 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 1.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 14.4 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 101.9 kB / 0.74 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1583, allocations: 95.38 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002666/0.161, allocations: 1.492 MB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.1618, allocations: 448.5 kB / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.1618, allocations: 4 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1618, allocations: 3.938 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.1619, allocations: 11.92 kB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.162, allocations: 19.91 kB / 0.835 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.1621, allocations: 55.78 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1622, allocations: 8 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.1623, allocations: 23.92 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.1624, allocations: 15.92 kB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1624, allocations: 4 kB / 0.8351 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.1624, allocations: 4 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.1624, allocations: 19.97 kB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1625, allocations: 23.86 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1626, allocations: 39.83 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1626, allocations: 0 / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1626, allocations: 0 / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1626, allocations: 0 / 0.8352 GB, free: 5.645 MB / 0.5762 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.0004997/0.1631, allocations: 294.2 kB / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1631, allocations: 9.938 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1631, allocations: 4.938 kB / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1633, allocations: 118.4 kB / 0.8356 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1633, allocations: 8.312 kB / 0.8356 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1633, allocations: 12.36 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1634, allocations: 58 kB / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1634, allocations: 0 / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1634, allocations: 0 / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1634, allocations: 0 / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.1635, allocations: 31.92 kB / 0.8357 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1639, allocations: 228.5 kB / 0.8359 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1641, allocations: 58.59 kB / 0.836 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.1641, allocations: 20.95 kB / 0.836 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1641, allocations: 3.938 kB / 0.836 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1643, allocations: 79.33 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1643, allocations: 0 / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000224/0.1645, allocations: 101.6 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1646, allocations: 55.41 kB / 0.8362 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.1646, allocations: 109.7 kB / 0.8363 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1647, allocations: 33.7 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.1647, allocations: 80.14 kB / 0.8365 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1647, allocations: 27.78 kB / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.1648, allocations: 33.7 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1649, allocations: 322.8 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.165, allocations: 16 kB / 0.8368 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.369e-05/0.165, allocations: 51.73 kB / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1651, allocations: 71.53 kB / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1651, allocations: 0 / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.1653, allocations: 89.58 kB / 0.837 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1653, allocations: 7.938 kB / 0.837 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1653, allocations: 4 kB / 0.8371 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1653, allocations: 8.016 kB / 0.8371 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.1654, allocations: 16 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1654, allocations: 4 kB / 0.8371 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1655, allocations: 4 kB / 0.8371 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1655, allocations: 11.98 kB / 0.8371 GB, free: 3.516 MB / 0.5762 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 9.589e-05/0.1656, allocations: 118.4 kB / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1656, allocations: 3.953 kB / 0.8372 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.1656, allocations: 12.06 kB / 0.8372 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1656, allocations: 0 / 0.8372 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1656, allocations: 0 / 0.8372 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1656, allocations: 4 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.166, allocations: 302 kB / 0.8375 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.166, allocations: 3.938 kB / 0.8375 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.166, allocations: 8 kB / 0.8375 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.166, allocations: 0 / 0.8375 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.166, allocations: 4 kB / 0.8375 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.166, allocations: 0 / 0.8375 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.166, allocations: 0 / 0.8375 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.1662, allocations: 191.4 kB / 0.8377 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.1662, allocations: 4 kB / 0.8377 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1662, allocations: 4 kB / 0.8377 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.1663, allocations: 7.984 kB / 0.8377 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1664, allocations: 11.98 kB / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.1664, allocations: 3.938 kB / 0.8377 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.1664, allocations: 87.27 kB / 0.8378 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1664, allocations: 0 / 0.8378 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002407/0.1667, allocations: 16.14 kB / 0.8378 GB, free: 2.68 MB / 0.5762 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 () * 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.683e-05/0.1668, allocations: 96.88 kB / 0.8379 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1669, allocations: 59.86 kB / 0.838 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1669, allocations: 3.938 kB / 0.838 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.167, allocations: 23.98 kB / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1672, allocations: 8.422 kB / 0.838 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.1676, allocations: 157.6 kB / 0.8382 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.1677, allocations: 67.34 kB / 0.8382 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.1677, allocations: 15.91 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1678, allocations: 15.5 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1678, allocations: 0 / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.003297/0.1711, allocations: 0.8488 MB / 0.8391 GB, free: 1.363 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.97147299721837] Failed to read output from testmodel.py, exit status != 0: 0.1781427189707756 0.19327644800000002 0.027701689 Calling exit ...