Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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.001665/0.001665, allocations: 75.27 kB / 20.51 MB, free: 1.285 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.001769/0.001769, allocations: 162.3 kB / 23.76 MB, free: 4.469 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.455/1.455, allocations: 177.2 MB / 204.1 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9883/0.9883, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: IBPSA 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.002137/0.002137, allocations: 65.52 kB / 0.555 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1612, allocations: 89.15 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002462/0.1637, allocations: 1.404 MB / 0.6434 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000856/0.1645, allocations: 454.4 kB / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.1646, allocations: 0 / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.873e-05/0.1646, allocations: 7.938 kB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.1647, allocations: 11.91 kB / 0.6439 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.1654, allocations: 246 kB / 0.6441 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1656, allocations: 147.8 kB / 0.6443 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1657, allocations: 4 kB / 0.6443 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.1658, allocations: 55.84 kB / 0.6443 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.1658, allocations: 43.83 kB / 0.6444 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1659, allocations: 8 kB / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.1662, allocations: 183.8 kB / 0.6446 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.1663, allocations: 39.89 kB / 0.6446 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.1663, allocations: 51.78 kB / 0.6446 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.1667, allocations: 235.3 kB / 0.6449 GB, free: 6.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1667, allocations: 0 / 0.6449 GB, free: 6.684 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1667, allocations: 0 / 0.6449 GB, free: 6.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1667, allocations: 0 / 0.6449 GB, free: 6.684 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005682/0.1672, allocations: 377.5 kB / 0.6452 GB, free: 6.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1673, allocations: 12.03 kB / 0.6452 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.1673, allocations: 12.84 kB / 0.6452 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1675, allocations: 160.3 kB / 0.6454 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1676, allocations: 8.375 kB / 0.6454 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1676, allocations: 12.38 kB / 0.6454 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1677, allocations: 79.95 kB / 0.6455 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1678, allocations: 192 / 0.6455 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1678, allocations: 7.938 kB / 0.6455 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1678, allocations: 0 / 0.6455 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.1679, allocations: 39.91 kB / 0.6455 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.1681, allocations: 162.2 kB / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1682, allocations: 73.2 kB / 0.6458 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.1683, allocations: 53.84 kB / 0.6458 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1683, allocations: 4 kB / 0.6458 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.1685, allocations: 105 kB / 0.6459 GB, free: 5.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1685, allocations: 0 / 0.6459 GB, free: 5.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003534/0.1688, allocations: 193.4 kB / 0.6461 GB, free: 5.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.1689, allocations: 93.09 kB / 0.6462 GB, free: 5.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.169, allocations: 148.3 kB / 0.6463 GB, free: 5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1691, allocations: 33.7 kB / 0.6464 GB, free: 4.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.1691, allocations: 108.4 kB / 0.6465 GB, free: 4.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.1692, allocations: 39.69 kB / 0.6465 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.1693, allocations: 49.7 kB / 0.6466 GB, free: 4.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1694, allocations: 326.8 kB / 0.6469 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.1695, allocations: 39.98 kB / 0.6469 GB, free: 4.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.1699, allocations: 0.608 MB / 0.6475 GB, free: 3.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1701, allocations: 93.64 kB / 0.6476 GB, free: 3.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1701, allocations: 0 / 0.6476 GB, free: 3.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002472/0.1703, allocations: 165.5 kB / 0.6477 GB, free: 3.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1704, allocations: 7.938 kB / 0.6478 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1704, allocations: 4 kB / 0.6478 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1704, allocations: 3.984 kB / 0.6478 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.1705, allocations: 8 kB / 0.6478 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1705, allocations: 3.938 kB / 0.6478 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.1708, allocations: 75.8 kB / 0.6478 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1708, allocations: 4 kB / 0.6479 GB, free: 3.254 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001222/0.1709, allocations: 141.9 kB / 0.648 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1709, allocations: 11.89 kB / 0.648 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.1709, allocations: 12.78 kB / 0.648 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1709, allocations: 0 / 0.648 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1709, allocations: 7.922 kB / 0.648 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.171, allocations: 4 kB / 0.648 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1711, allocations: 129.2 kB / 0.6481 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1711, allocations: 7.984 kB / 0.6482 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1711, allocations: 4 kB / 0.6482 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1711, allocations: 0 / 0.6482 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1711, allocations: 7.938 kB / 0.6482 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1711, allocations: 7.938 kB / 0.6482 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1711, allocations: 0 / 0.6482 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1714, allocations: 173.9 kB / 0.6483 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.1714, allocations: 15.91 kB / 0.6484 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1714, allocations: 3.938 kB / 0.6484 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.1715, allocations: 7.984 kB / 0.6484 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1715, allocations: 7.984 kB / 0.6484 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1715, allocations: 8 kB / 0.6484 GB, free: 2.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.1716, allocations: 111.2 kB / 0.6485 GB, free: 2.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 0 / 0.6485 GB, free: 2.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002991/0.1719, allocations: 75.81 kB / 0.6486 GB, free: 2.465 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0002285/0.1721, allocations: 163 kB / 0.6487 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.1724, allocations: 163.3 kB / 0.6489 GB, free: 2.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1724, allocations: 7.875 kB / 0.6489 GB, free: 2.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.1725, allocations: 39.98 kB / 0.6489 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.1726, allocations: 1.719 kB / 0.6489 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.173, allocations: 235.2 kB / 0.6491 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.197e-05/0.1731, allocations: 97.11 kB / 0.6492 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.1731, allocations: 12.72 kB / 0.6492 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.1732, allocations: 12.5 kB / 0.6493 GB, free: 1.672 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1732, allocations: 0 / 0.6493 GB, free: 1.672 MB / 0.545 GB Notification: Performance of Templates: time 0.005844/0.179, allocations: 2.71 MB / 0.6519 GB, free: 15.02 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.578881879919209] Failed to read output from testmodel.py, exit status != 0: 0.1870700370054692 0.200580096 0.030883133000000004 Calling exit ...