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.001093/0.001094, allocations: 112.8 kB / 17.09 MB, free: 5.992 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.00115/0.00115, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7615/0.7615, allocations: 122.9 MB / 414.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.59 kB / 0.5691 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 77.93 MB / 0.6452 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002359/0.1432, allocations: 1.396 MB / 0.6465 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.1441, allocations: 0.4982 MB / 0.647 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.1442, allocations: 0 / 0.647 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.383e-05/0.1442, allocations: 11.88 kB / 0.647 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.1443, allocations: 11.91 kB / 0.647 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.1451, allocations: 229.3 kB / 0.6473 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1453, allocations: 143.8 kB / 0.6474 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.1453, allocations: 11.92 kB / 0.6474 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.1454, allocations: 59.89 kB / 0.6475 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.1455, allocations: 39.89 kB / 0.6475 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1455, allocations: 11.94 kB / 0.6475 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.1458, allocations: 163.8 kB / 0.6477 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.1459, allocations: 39.89 kB / 0.6477 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.146, allocations: 59.72 kB / 0.6478 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1463, allocations: 235.4 kB / 0.648 GB, free: 6.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1463, allocations: 0 / 0.648 GB, free: 6.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1463, allocations: 0 / 0.648 GB, free: 6.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1463, allocations: 0 / 0.648 GB, free: 6.156 MB / 494.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.0005445/0.1469, allocations: 451 kB / 0.6484 GB, free: 5.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1469, allocations: 8.625 kB / 0.6484 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.147, allocations: 16.75 kB / 0.6484 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1472, allocations: 200.2 kB / 0.6486 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1472, allocations: 12.38 kB / 0.6486 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1473, allocations: 8.375 kB / 0.6487 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1474, allocations: 87.88 kB / 0.6487 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1474, allocations: 192 / 0.6487 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1475, allocations: 3.938 kB / 0.6487 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1475, allocations: 3.938 kB / 0.6487 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.1475, allocations: 35.98 kB / 0.6488 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.1478, allocations: 246.4 kB / 0.649 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1479, allocations: 77.19 kB / 0.6491 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.148, allocations: 57.8 kB / 0.6491 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.148, allocations: 0 / 0.6491 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1482, allocations: 117 kB / 0.6493 GB, free: 4.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1482, allocations: 0 / 0.6493 GB, free: 4.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003213/0.1485, allocations: 189.4 kB / 0.6494 GB, free: 4.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1486, allocations: 85.09 kB / 0.6495 GB, free: 4.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1487, allocations: 152.4 kB / 0.6497 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.1487, allocations: 33.7 kB / 0.6497 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1488, allocations: 108.5 kB / 0.6498 GB, free: 4.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.1489, allocations: 39.45 kB / 0.6498 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.1489, allocations: 49.7 kB / 0.6499 GB, free: 3.969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.149, allocations: 322.8 kB / 0.6502 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.1491, allocations: 39.98 kB / 0.6502 GB, free: 3.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1493, allocations: 202.3 kB / 0.6504 GB, free: 3.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1495, allocations: 89.7 kB / 0.6505 GB, free: 3.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1495, allocations: 0 / 0.6505 GB, free: 3.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002393/0.1497, allocations: 173.3 kB / 0.6507 GB, free: 3.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1497, allocations: 5.406 kB / 0.6507 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.1498, allocations: 8 kB / 0.6507 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1498, allocations: 0 / 0.6507 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.1499, allocations: 8 kB / 0.6507 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.1499, allocations: 0 / 0.6507 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.1502, allocations: 86.61 kB / 0.6508 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1502, allocations: 4 kB / 0.6508 GB, free: 2.98 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.0001145/0.1503, allocations: 138.7 kB / 0.6509 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1504, allocations: 19.73 kB / 0.6509 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.1504, allocations: 12.72 kB / 0.6509 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1504, allocations: 4 kB / 0.651 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1504, allocations: 0 / 0.651 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1505, allocations: 89.02 kB / 0.651 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1505, allocations: 0 / 0.651 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.1505, allocations: 7.984 kB / 0.651 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1506, allocations: 7.938 kB / 0.6511 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002624/0.1508, allocations: 308.7 kB / 0.6513 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002759/0.1511, allocations: 399.1 kB / 0.6517 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.751e-05/0.1512, allocations: 47.91 kB / 0.6518 GB, free: 1.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.1513, allocations: 115.2 kB / 0.6519 GB, free: 1.797 MB / 494.1 MB Notification: Performance of Backend: time 3.61e-07/0.1513, allocations: 4 kB / 0.6519 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.152, allocations: 265.8 kB / 0.6521 GB, free: 1.516 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004958/0.1525, allocations: 0.6357 MB / 0.6528 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of Templates: time 0.005329/0.1579, allocations: 2.598 MB / 0.6553 GB, free: 14.27 MB / 0.4981 GB 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)