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.001106/0.001106, allocations: 117 kB / 17.09 MB, free: 5.938 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.001085/0.001085, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 62.02 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.158, allocations: 76.19 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00261/0.1607, allocations: 1.404 MB / 0.6341 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.1617, allocations: 0.4905 MB / 0.6346 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.1617, allocations: 0 / 0.6346 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.1618, allocations: 7.922 kB / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.1619, allocations: 11.88 kB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.1628, allocations: 234.2 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.163, allocations: 143.8 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.1631, allocations: 4 kB / 0.6349 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.1632, allocations: 63.83 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.1633, allocations: 39.89 kB / 0.635 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1633, allocations: 8 kB / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.1636, allocations: 167.8 kB / 0.6352 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.1637, allocations: 31.91 kB / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1638, allocations: 59.72 kB / 0.6353 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1641, allocations: 239.4 kB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1641, allocations: 0 / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1641, allocations: 0 / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1642, allocations: 0 / 0.6355 GB, free: 1.547 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.0006322/0.1648, allocations: 451 kB / 0.6359 GB, free: 1.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1648, allocations: 11.97 kB / 0.636 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.1649, allocations: 12.84 kB / 0.636 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1651, allocations: 213.9 kB / 0.6362 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1652, allocations: 16.36 kB / 0.6362 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1652, allocations: 8.375 kB / 0.6362 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1654, allocations: 83.95 kB / 0.6363 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1654, allocations: 192 / 0.6363 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1654, allocations: 3.938 kB / 0.6363 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1654, allocations: 0 / 0.6363 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.1655, allocations: 43.91 kB / 0.6363 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.1657, allocations: 234.5 kB / 0.6365 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1659, allocations: 81.17 kB / 0.6366 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.1659, allocations: 53.81 kB / 0.6367 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.166, allocations: 0 / 0.6367 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1662, allocations: 113.1 kB / 0.6368 GB, free: 56 kB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.1662, allocations: 0 / 0.6368 GB, free: 56 kB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.000359/0.1666, allocations: 189.3 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1666, allocations: 85.09 kB / 0.637 GB, free: 15.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1668, allocations: 153.8 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1668, allocations: 37.64 kB / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.1669, allocations: 108.5 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.1669, allocations: 39.53 kB / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.167, allocations: 49.7 kB / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1671, allocations: 322.8 kB / 0.6377 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.1672, allocations: 43.97 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.1674, allocations: 195.4 kB / 0.638 GB, free: 14.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1676, allocations: 97.58 kB / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1676, allocations: 0 / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000232/0.1678, allocations: 161.4 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1678, allocations: 4 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.1679, allocations: 8 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1679, allocations: 0 / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.168, allocations: 15.92 kB / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.168, allocations: 0 / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.1683, allocations: 79.75 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1683, allocations: 4 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.0001187/0.1684, allocations: 129.8 kB / 0.6384 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1684, allocations: 15.84 kB / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.1685, allocations: 12.72 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1685, allocations: 4.094 kB / 0.6385 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1685, allocations: 3.984 kB / 0.6385 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1685, allocations: 15.86 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1687, allocations: 189.5 kB / 0.6387 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1687, allocations: 3.938 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.1687, allocations: 8 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1687, allocations: 0 / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1687, allocations: 7.984 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1687, allocations: 3.938 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1687, allocations: 0 / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.169, allocations: 177.9 kB / 0.6389 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.169, allocations: 100.9 kB / 0.639 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1691, allocations: 0 / 0.639 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.1691, allocations: 7.938 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1692, allocations: 3.984 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1692, allocations: 8 kB / 0.639 GB, free: 13.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.1692, allocations: 114.3 kB / 0.6391 GB, free: 13.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1693, allocations: 0 / 0.6391 GB, free: 13.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1696, allocations: 71.98 kB / 0.6391 GB, free: 13.4 MB / 494.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 (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.0002787/0.1698, allocations: 168.6 kB / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1701, allocations: 159.3 kB / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1701, allocations: 0 / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.1702, allocations: 51.91 kB / 0.6395 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.1704, allocations: 11.94 kB / 0.6395 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.1708, allocations: 261.1 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1711, allocations: 0.7002 MB / 0.6405 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.1712, allocations: 19.44 kB / 0.6405 GB, free: 11.97 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1712, allocations: 3.938 kB / 0.6405 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Templates: time 0.005201/0.1764, allocations: 2.446 MB / 0.6429 GB, free: 9.535 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)