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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 172.7 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4833/0.4833, allocations: 86.26 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 348.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007654/0.0007647, allocations: 94.14 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3169, allocations: 71.02 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4322, allocations: 100.5 MB / 0.6576 GB, free: 8.961 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4324, allocations: 74 kB / 0.6577 GB, free: 8.891 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.4432, allocations: 3.976 MB / 0.6616 GB, free: 4.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4432, allocations: 0 / 0.6616 GB, free: 4.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.4433, allocations: 4 kB / 0.6616 GB, free: 4.898 MB / 474.7 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.0004832/0.4437, allocations: 431 kB / 0.662 GB, free: 4.426 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4438, allocations: 15.97 kB / 0.662 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.4439, allocations: 16.83 kB / 0.662 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4441, allocations: 214 kB / 0.6622 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4442, allocations: 16.36 kB / 0.6622 GB, free: 4.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.4442, allocations: 8.375 kB / 0.6623 GB, free: 4.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4444, allocations: 91.94 kB / 0.6623 GB, free: 4.023 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4444, allocations: 3.938 kB / 0.6623 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4444, allocations: 0 / 0.6623 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4444, allocations: 0 / 0.6623 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.4445, allocations: 43.91 kB / 0.6624 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.4447, allocations: 246.4 kB / 0.6626 GB, free: 3.684 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4449, allocations: 85.19 kB / 0.6627 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.4449, allocations: 65.73 kB / 0.6628 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.445, allocations: 0 / 0.6628 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4451, allocations: 121 kB / 0.6629 GB, free: 3.375 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4451, allocations: 4 kB / 0.6629 GB, free: 3.371 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003936/0.4455, allocations: 197.3 kB / 0.6631 GB, free: 3.172 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.4456, allocations: 97.08 kB / 0.6632 GB, free: 3.059 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4457, allocations: 151.7 kB / 0.6633 GB, free: 2.902 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.4458, allocations: 33.7 kB / 0.6633 GB, free: 2.863 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.4458, allocations: 100.6 kB / 0.6634 GB, free: 2.762 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4459, allocations: 31.55 kB / 0.6635 GB, free: 2.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.4459, allocations: 4 kB / 0.6635 GB, free: 2.727 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.446, allocations: 326.8 kB / 0.6638 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.4461, allocations: 51.91 kB / 0.6638 GB, free: 2.348 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.4463, allocations: 209.1 kB / 0.664 GB, free: 2.082 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4465, allocations: 101.6 kB / 0.6641 GB, free: 1.977 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4465, allocations: 0 / 0.6641 GB, free: 1.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000239/0.4467, allocations: 177.2 kB / 0.6643 GB, free: 1.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4467, allocations: 5.719 kB / 0.6643 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.4468, allocations: 7.984 kB / 0.6643 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4468, allocations: 4 kB / 0.6643 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.4469, allocations: 11.94 kB / 0.6643 GB, free: 1.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4469, allocations: 8 kB / 0.6643 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.4471, allocations: 83.81 kB / 0.6644 GB, free: 1.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4472, allocations: 12 kB / 0.6644 GB, free: 1.668 MB / 474.7 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.0001095/0.4473, allocations: 129.8 kB / 0.6646 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.4473, allocations: 11.84 kB / 0.6646 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.4474, allocations: 12.72 kB / 0.6646 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4474, allocations: 4 kB / 0.6646 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4474, allocations: 4 kB / 0.6646 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4474, allocations: 3.984 kB / 0.6646 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4475, allocations: 205.3 kB / 0.6648 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4475, allocations: 4 kB / 0.6648 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.4476, allocations: 7.938 kB / 0.6648 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4476, allocations: 0 / 0.6648 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4476, allocations: 4 kB / 0.6648 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4476, allocations: 3.984 kB / 0.6648 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4476, allocations: 0 / 0.6648 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.4479, allocations: 193.8 kB / 0.665 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.4479, allocations: 85.02 kB / 0.6651 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.448, allocations: 8 kB / 0.6651 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.448, allocations: 0 / 0.6651 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.4481, allocations: 15.86 kB / 0.6651 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.4481, allocations: 8 kB / 0.6651 GB, free: 0.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.933e-05/0.4482, allocations: 114 kB / 0.6652 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4482, allocations: 4 kB / 0.6652 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.4485, allocations: 79.92 kB / 0.6653 GB, free: 0.6836 MB / 474.7 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.0002921/0.4488, allocations: 181.7 kB / 0.6655 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.4491, allocations: 155.3 kB / 0.6656 GB, free: 340 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4491, allocations: 4 kB / 0.6656 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.4491, allocations: 39.98 kB / 0.6657 GB, free: 296 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.4493, allocations: 15.92 kB / 0.6657 GB, free: 280 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.4497, allocations: 242.5 kB / 0.6659 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.45, allocations: 0.7083 MB / 0.6666 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.45, allocations: 16.92 kB / 0.6666 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.4501, allocations: 11.44 kB / 0.6666 GB, free: 15.24 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4501, allocations: 3.938 kB / 0.6666 GB, free: 15.24 MB / 490.7 MB Notification: Performance of Templates: time 0.005067/0.4551, allocations: 2.348 MB / 0.6689 GB, free: 12.92 MB / 490.7 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)