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.001774/0.001774, allocations: 103.9 kB / 16.27 MB, free: 5.961 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.001585/0.001585, allocations: 186.8 kB / 17.19 MB, free: 5.605 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.494/1.494, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7471/0.7471, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4308, allocations: 77.92 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003693/0.4345, allocations: 1.397 MB / 0.5686 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.4355, allocations: 0.4964 MB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.4356, allocations: 0 / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.4357, allocations: 8.797 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.4358, allocations: 17.73 kB / 0.5691 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.4369, allocations: 233 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.4371, allocations: 142.6 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.4372, allocations: 8.781 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.4373, allocations: 52.86 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4374, allocations: 45.19 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.4375, allocations: 9.469 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.4378, allocations: 166.5 kB / 0.5697 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.4379, allocations: 38.27 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.438, allocations: 55.7 kB / 0.5698 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.4385, allocations: 228.7 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4385, allocations: 0 / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4385, allocations: 0 / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4385, allocations: 1.953 kB / 0.57 GB, free: 30.93 MB / 446.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.00061/0.4391, allocations: 450.7 kB / 0.5704 GB, free: 30.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4392, allocations: 11.64 kB / 0.5704 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.4393, allocations: 12.72 kB / 0.5705 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.4395, allocations: 215.2 kB / 0.5707 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4395, allocations: 4.875 kB / 0.5707 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.4395, allocations: 10.73 kB / 0.5707 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4397, allocations: 80.11 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4397, allocations: 192 / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4397, allocations: 13.7 kB / 0.5708 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4398, allocations: 2.234 kB / 0.5708 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.4398, allocations: 40.31 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.4401, allocations: 231.1 kB / 0.571 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4402, allocations: 79.05 kB / 0.5711 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.4403, allocations: 55.66 kB / 0.5711 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.4403, allocations: 2.969 kB / 0.5712 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.4406, allocations: 118.7 kB / 0.5713 GB, free: 29.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.4406, allocations: 0 / 0.5713 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003659/0.441, allocations: 188.2 kB / 0.5714 GB, free: 29.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.441, allocations: 83.09 kB / 0.5715 GB, free: 29.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.4412, allocations: 151.3 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.4412, allocations: 35.75 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.4413, allocations: 101.9 kB / 0.5718 GB, free: 29.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.4413, allocations: 40.41 kB / 0.5718 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.4414, allocations: 54.7 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.4415, allocations: 326.2 kB / 0.5722 GB, free: 29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.4415, allocations: 38.47 kB / 0.5722 GB, free: 29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.4418, allocations: 208.3 kB / 0.5724 GB, free: 28.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4419, allocations: 100.9 kB / 0.5725 GB, free: 28.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4419, allocations: 1.156 kB / 0.5725 GB, free: 28.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000255/0.4422, allocations: 157.1 kB / 0.5727 GB, free: 28.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4422, allocations: 7.375 kB / 0.5727 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.4422, allocations: 3.266 kB / 0.5727 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4423, allocations: 1.344 kB / 0.5727 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.4423, allocations: 17.27 kB / 0.5727 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4424, allocations: 1.656 kB / 0.5727 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.4427, allocations: 71.34 kB / 0.5728 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.4427, allocations: 10.95 kB / 0.5728 GB, free: 28.68 MB / 446.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.0001079/0.4428, allocations: 129.9 kB / 0.5729 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4428, allocations: 13.69 kB / 0.5729 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.4429, allocations: 15.59 kB / 0.5729 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4429, allocations: 1.406 kB / 0.5729 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4429, allocations: 0.7031 kB / 0.5729 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4429, allocations: 1.25 kB / 0.5729 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.443, allocations: 198.8 kB / 0.5731 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4431, allocations: 9.156 kB / 0.5731 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.4431, allocations: 5.75 kB / 0.5732 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4431, allocations: 1.875 kB / 0.5732 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4431, allocations: 10.19 kB / 0.5732 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4431, allocations: 1.281 kB / 0.5732 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4431, allocations: 0 / 0.5732 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.4433, allocations: 186.6 kB / 0.5733 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.4434, allocations: 93.73 kB / 0.5734 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4434, allocations: 2.219 kB / 0.5734 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.4435, allocations: 5.344 kB / 0.5734 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.4435, allocations: 15.38 kB / 0.5735 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4435, allocations: 2.938 kB / 0.5735 GB, free: 28.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.994e-05/0.4436, allocations: 113.6 kB / 0.5736 GB, free: 28.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4436, allocations: 0 / 0.5736 GB, free: 28.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.444, allocations: 78.17 kB / 0.5736 GB, free: 28 MB / 446.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.0003199/0.4443, allocations: 159.6 kB / 0.5738 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.4446, allocations: 171.4 kB / 0.574 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4446, allocations: 3.938 kB / 0.574 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.4447, allocations: 43.61 kB / 0.574 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.4449, allocations: 14.53 kB / 0.574 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4453, allocations: 223.4 kB / 0.5742 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.4455, allocations: 0.7101 MB / 0.5749 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.4455, allocations: 8.922 kB / 0.5749 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.4456, allocations: 13.22 kB / 0.5749 GB, free: 26.9 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4456, allocations: 0 / 0.5749 GB, free: 26.9 MB / 446.1 MB Notification: Performance of Templates: time 0.006343/0.4519, allocations: 2.518 MB / 0.5774 GB, free: 26.69 MB / 446.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)