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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 111.5 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.363/1.363, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8224/0.8224, allocations: 128.4 MB / 426.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 65.77 kB / 0.5911 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 83.26 MB / 0.6724 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002483/0.1601, allocations: 1.406 MB / 0.6738 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.161, allocations: 0.5064 MB / 0.6743 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.161, allocations: 0 / 0.6743 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.019e-05/0.1611, allocations: 7.922 kB / 0.6743 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.1612, allocations: 11.88 kB / 0.6743 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006737/0.1618, allocations: 234.1 kB / 0.6745 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.162, allocations: 143.7 kB / 0.6747 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1621, allocations: 11.97 kB / 0.6747 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.1621, allocations: 55.91 kB / 0.6747 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.1622, allocations: 43.84 kB / 0.6748 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1623, allocations: 8 kB / 0.6748 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1625, allocations: 171.8 kB / 0.675 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.1626, allocations: 35.91 kB / 0.675 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.1627, allocations: 51.77 kB / 0.675 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.163, allocations: 247.1 kB / 0.6753 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.163, allocations: 0 / 0.6753 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.163, allocations: 0 / 0.6753 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.163, allocations: 0 / 0.6753 GB, free: 1.008 MB / 0.4981 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.0006233/0.1636, allocations: 458.6 kB / 0.6757 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.1636, allocations: 8.031 kB / 0.6757 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1637, allocations: 16.84 kB / 0.6757 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1639, allocations: 205.2 kB / 0.6759 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1639, allocations: 12.38 kB / 0.6759 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.164, allocations: 8.375 kB / 0.676 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1641, allocations: 87.88 kB / 0.676 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1641, allocations: 192 / 0.676 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1641, allocations: 7.938 kB / 0.676 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1641, allocations: 0 / 0.676 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.1642, allocations: 35.98 kB / 0.6761 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.1645, allocations: 230.5 kB / 0.6763 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1646, allocations: 73.19 kB / 0.6764 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.1647, allocations: 57.73 kB / 0.6764 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1647, allocations: 4 kB / 0.6764 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1649, allocations: 105 kB / 0.6765 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 9.51e-07/0.1649, allocations: 0 / 0.6765 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003351/0.1653, allocations: 193.6 kB / 0.6767 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.1653, allocations: 88.98 kB / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1655, allocations: 155.5 kB / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1655, allocations: 33.7 kB / 0.677 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.1656, allocations: 100.5 kB / 0.6771 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.1656, allocations: 43.69 kB / 0.6771 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.1657, allocations: 45.7 kB / 0.6772 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1658, allocations: 322.8 kB / 0.6775 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.1659, allocations: 39.98 kB / 0.6775 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1661, allocations: 205 kB / 0.6777 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1663, allocations: 105.5 kB / 0.6778 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1663, allocations: 4 kB / 0.6778 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002366/0.1665, allocations: 173.4 kB / 0.678 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1665, allocations: 4 kB / 0.678 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.1665, allocations: 4 kB / 0.678 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1666, allocations: 0 / 0.678 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.1666, allocations: 8 kB / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1666, allocations: 0 / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.1669, allocations: 75.89 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1669, allocations: 4 kB / 0.6781 GB, free: 13.83 MB / 0.5137 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.0001181/0.167, allocations: 129.8 kB / 0.6782 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1671, allocations: 23.83 kB / 0.6782 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.1671, allocations: 16.72 kB / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1671, allocations: 0 / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1671, allocations: 4 kB / 0.6782 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1671, allocations: 0 / 0.6782 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1673, allocations: 193.5 kB / 0.6784 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1673, allocations: 3.938 kB / 0.6784 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.1673, allocations: 12 kB / 0.6784 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1673, allocations: 0 / 0.6784 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1673, allocations: 0 / 0.6784 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.1673, allocations: 4 kB / 0.6784 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1673, allocations: 0 / 0.6784 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1675, allocations: 185.8 kB / 0.6786 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.1676, allocations: 93 kB / 0.6787 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1677, allocations: 4 kB / 0.6787 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.1677, allocations: 0 / 0.6787 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1677, allocations: 7.984 kB / 0.6787 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1677, allocations: 8 kB / 0.6787 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.1678, allocations: 120.8 kB / 0.6788 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1678, allocations: 3.938 kB / 0.6788 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002831/0.1681, allocations: 71.81 kB / 0.6789 GB, free: 12.87 MB / 0.5137 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.0002302/0.1683, allocations: 159.1 kB / 0.6791 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1686, allocations: 167 kB / 0.6792 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1686, allocations: 0 / 0.6792 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.1687, allocations: 35.92 kB / 0.6793 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1688, allocations: 15.94 kB / 0.6793 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1692, allocations: 228.4 kB / 0.6795 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1695, allocations: 0.7041 MB / 0.6802 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.1696, allocations: 16.83 kB / 0.6802 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.1696, allocations: 11.44 kB / 0.6802 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1696, allocations: 0 / 0.6802 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of Templates: time 0.00587/0.1755, allocations: 2.548 MB / 0.6827 GB, free: 8.953 MB / 0.5137 GB 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480]