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.001246/0.001246, allocations: 116.1 kB / 17.09 MB, free: 5.957 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.001379/0.001379, allocations: 197.5 kB / 18.03 MB, free: 5.043 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.03 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1621, allocations: 76.19 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002338/0.1645, allocations: 1.388 MB / 0.6341 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.1654, allocations: 0.4944 MB / 0.6346 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.1654, allocations: 0 / 0.6346 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.62e-05/0.1656, allocations: 11.92 kB / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.1656, allocations: 3.938 kB / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.1663, allocations: 238.4 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1665, allocations: 147.8 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1666, allocations: 7.984 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.1667, allocations: 59.84 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.1668, allocations: 39.89 kB / 0.635 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.1668, allocations: 12 kB / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.167, allocations: 163.8 kB / 0.6352 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.1671, allocations: 35.91 kB / 0.6352 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.1672, allocations: 59.72 kB / 0.6353 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1675, allocations: 231.4 kB / 0.6355 GB, free: 1.551 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1675, allocations: 4 kB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1675, allocations: 4 kB / 0.6355 GB, free: 1.543 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1675, allocations: 0 / 0.6355 GB, free: 1.543 MB / 478.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.0005737/0.1681, allocations: 447 kB / 0.636 GB, free: 1.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1682, allocations: 8.031 kB / 0.636 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1682, allocations: 12.84 kB / 0.636 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1684, allocations: 218.1 kB / 0.6362 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1685, allocations: 4.375 kB / 0.6362 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1685, allocations: 16.36 kB / 0.6362 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1687, allocations: 87.89 kB / 0.6363 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1687, allocations: 192 / 0.6363 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1687, allocations: 3.938 kB / 0.6363 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1687, allocations: 0 / 0.6363 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.1688, allocations: 43.91 kB / 0.6363 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.169, allocations: 226.5 kB / 0.6365 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1691, allocations: 85.17 kB / 0.6366 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.1692, allocations: 53.81 kB / 0.6367 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1692, allocations: 4 kB / 0.6367 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.1695, allocations: 109.1 kB / 0.6368 GB, free: 60 kB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1695, allocations: 0 / 0.6368 GB, free: 60 kB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003476/0.1698, allocations: 193.8 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1699, allocations: 93.09 kB / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.17, allocations: 149.7 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.17, allocations: 33.7 kB / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1701, allocations: 100.5 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.1702, allocations: 39.53 kB / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.1702, allocations: 49.7 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1704, allocations: 334.8 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.1704, allocations: 39.92 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.1706, allocations: 199.4 kB / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1707, allocations: 93.64 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1707, allocations: 3.938 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002029/0.171, allocations: 157.4 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.171, allocations: 8 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.171, allocations: 0 / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.171, allocations: 7.984 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.1711, allocations: 11.94 kB / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1711, allocations: 4 kB / 0.6382 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.1714, allocations: 71.75 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1714, allocations: 8 kB / 0.6383 GB, free: 14.36 MB / 494.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 (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.0001148/0.1715, allocations: 137.8 kB / 0.6384 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.1716, allocations: 11.84 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.1716, allocations: 12.72 kB / 0.6385 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1716, allocations: 3.984 kB / 0.6385 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1716, allocations: 0 / 0.6385 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.1716, allocations: 93 kB / 0.6386 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1717, allocations: 0 / 0.6386 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.1717, allocations: 8 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1718, allocations: 11.92 kB / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002494/0.172, allocations: 312.1 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000254/0.1723, allocations: 397.9 kB / 0.6393 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.183e-05/0.1724, allocations: 43.92 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.906e-05/0.1724, allocations: 118.3 kB / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Backend: time 2.9e-07/0.1724, allocations: 0 / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.1731, allocations: 275.8 kB / 0.6397 GB, free: 12.9 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005153/0.1736, allocations: 0.6319 MB / 0.6403 GB, free: 12.22 MB / 494.1 MB Notification: Performance of Templates: time 0.005073/0.1787, allocations: 2.588 MB / 0.6428 GB, free: 9.664 MB / 494.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)