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.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007927/0.0007927, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 177.2 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.733/0.733, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 12 kB / 495.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 77.52 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001559/0.1613, allocations: 1.111 MB / 0.5604 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.1621, allocations: 466.9 kB / 0.5609 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1622, allocations: 0 / 0.5609 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.536e-05/0.1623, allocations: 11.92 kB / 0.5609 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.1624, allocations: 7.922 kB / 0.5609 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.1631, allocations: 190.8 kB / 0.5611 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1633, allocations: 119.8 kB / 0.5612 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1633, allocations: 4 kB / 0.5612 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.1634, allocations: 51.91 kB / 0.5612 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.1635, allocations: 47.81 kB / 0.5613 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1636, allocations: 8 kB / 0.5613 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1638, allocations: 151.8 kB / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1639, allocations: 31.91 kB / 0.5614 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.164, allocations: 41.64 kB / 0.5615 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1642, allocations: 167.9 kB / 0.5616 GB, free: 7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1642, allocations: 4 kB / 0.5617 GB, free: 6.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1642, allocations: 4 kB / 0.5617 GB, free: 6.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1642, allocations: 3.938 kB / 0.5617 GB, free: 6.988 MB / 430.1 MB 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.0005521/0.1648, allocations: 415 kB / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1648, allocations: 8.031 kB / 0.5621 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1649, allocations: 11.91 kB / 0.5621 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1651, allocations: 204.8 kB / 0.5623 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1652, allocations: 8 kB / 0.5623 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1652, allocations: 19.95 kB / 0.5623 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1654, allocations: 87.33 kB / 0.5624 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1654, allocations: 4 kB / 0.5624 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1654, allocations: 0 / 0.5624 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1654, allocations: 0 / 0.5624 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.1655, allocations: 39.97 kB / 0.5624 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1658, allocations: 230.4 kB / 0.5626 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1659, allocations: 93.16 kB / 0.5627 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.166, allocations: 53.75 kB / 0.5628 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.166, allocations: 4 kB / 0.5628 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.1662, allocations: 121 kB / 0.5629 GB, free: 5.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1662, allocations: 0 / 0.5629 GB, free: 5.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003303/0.1665, allocations: 173.5 kB / 0.5631 GB, free: 5.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.1666, allocations: 93.09 kB / 0.5632 GB, free: 5.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1667, allocations: 147.9 kB / 0.5633 GB, free: 5.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.1668, allocations: 33.7 kB / 0.5633 GB, free: 5.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1669, allocations: 100.5 kB / 0.5634 GB, free: 4.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.1669, allocations: 39.44 kB / 0.5635 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.1669, allocations: 4 kB / 0.5635 GB, free: 4.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.167, allocations: 326.8 kB / 0.5638 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.1671, allocations: 40.17 kB / 0.5638 GB, free: 4.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1673, allocations: 199.7 kB / 0.564 GB, free: 4.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.1674, allocations: 63.86 kB / 0.5641 GB, free: 4.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1674, allocations: 0 / 0.5641 GB, free: 4.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002245/0.1677, allocations: 154.8 kB / 0.5642 GB, free: 4.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1677, allocations: 4 kB / 0.5642 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.1677, allocations: 8 kB / 0.5642 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1677, allocations: 0 / 0.5642 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.1678, allocations: 11.94 kB / 0.5642 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1678, allocations: 0 / 0.5642 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.1681, allocations: 95.73 kB / 0.5643 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1681, allocations: 4 kB / 0.5643 GB, free: 3.938 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.1683, allocations: 138.9 kB / 0.5645 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1683, allocations: 19.77 kB / 0.5645 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.1683, allocations: 16.7 kB / 0.5645 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1683, allocations: 0 / 0.5645 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1684, allocations: 3.938 kB / 0.5645 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1684, allocations: 0 / 0.5645 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1685, allocations: 193.6 kB / 0.5647 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1685, allocations: 0 / 0.5647 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.1686, allocations: 7.938 kB / 0.5647 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1686, allocations: 3.953 kB / 0.5647 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1686, allocations: 8 kB / 0.5647 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1686, allocations: 4 kB / 0.5647 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1686, allocations: 0 / 0.5647 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1689, allocations: 180.9 kB / 0.5649 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1689, allocations: 96.84 kB / 0.565 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.1689, allocations: 3.953 kB / 0.565 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.169, allocations: 4 kB / 0.565 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1691, allocations: 15.92 kB / 0.565 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.1691, allocations: 4.094 kB / 0.565 GB, free: 3.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.1691, allocations: 111.2 kB / 0.5651 GB, free: 3.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1692, allocations: 0 / 0.5651 GB, free: 3.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1695, allocations: 68 kB / 0.5652 GB, free: 2.98 MB / 430.1 MB 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 (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 0.000251/0.1697, allocations: 171.1 kB / 0.5653 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.17, allocations: 159.3 kB / 0.5655 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.17, allocations: 0 / 0.5655 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.493e-05/0.1701, allocations: 47.98 kB / 0.5655 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.1702, allocations: 8 kB / 0.5655 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.1707, allocations: 249.8 kB / 0.5658 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1709, allocations: 0.705 MB / 0.5665 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.171, allocations: 8.656 kB / 0.5665 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.171, allocations: 11.44 kB / 0.5665 GB, free: 1.551 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.171, allocations: 0 / 0.5665 GB, free: 1.551 MB / 430.1 MB Notification: Performance of Templates: time 0.005164/0.1762, allocations: 2.323 MB / 0.5688 GB, free: 15.26 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)