Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 184.8 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008766/0.0008765, allocations: 95.83 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.009e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6621, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.8489, allocations: 137.6 MB / 1.099 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.8492, allocations: 71.95 kB / 1.099 GB, free: 2.145 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.8599, allocations: 3.894 MB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.143e-06/0.86, allocations: 4 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.86, allocations: 4 kB / 1.103 GB, free: 14.31 MB / 0.7136 GB 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.0005015/0.8605, allocations: 412 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8606, allocations: 15.97 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.8606, allocations: 16.84 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.861, allocations: 210.8 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.861, allocations: 6.719 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.861, allocations: 12 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001135/0.8611, allocations: 39.91 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.8613, allocations: 85.94 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.8613, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8613, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8613, allocations: 4 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.8616, allocations: 211 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.8617, allocations: 86.08 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.8618, allocations: 57.12 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.8618, allocations: 3.984 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.862, allocations: 113.1 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.862, allocations: 0 / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003699/0.8624, allocations: 164.8 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.8624, allocations: 81.11 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.8626, allocations: 135.1 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.8626, allocations: 33.7 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.8627, allocations: 96.52 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.8627, allocations: 43.53 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.8627, allocations: 4 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8629, allocations: 326.8 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.8629, allocations: 40.17 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.8631, allocations: 210.9 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.8632, allocations: 55.91 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8633, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002497/0.8635, allocations: 169.5 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8635, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.8636, allocations: 15.94 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8636, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.8637, allocations: 8.656 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.8637, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.8639, allocations: 79.84 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.864, allocations: 15.94 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB 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 () * 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 9.282e-05/0.8641, allocations: 116.9 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.8641, allocations: 19.81 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.8642, allocations: 4.625 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8642, allocations: 7.375 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8642, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8642, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.8643, allocations: 170.1 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8643, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.8644, allocations: 11.98 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8644, allocations: 0 / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.8644, allocations: 8 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8644, allocations: 4 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8644, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.8647, allocations: 203.4 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.8648, allocations: 96.88 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.8648, allocations: 4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.8649, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.8649, allocations: 11.98 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.865, allocations: 6.188 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.865, allocations: 113.1 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.865, allocations: 0 / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003519/0.8654, allocations: 75.92 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB 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) * 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.0002551/0.8657, allocations: 174.9 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.8659, allocations: 159.3 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8659, allocations: 4 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.866, allocations: 39.92 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.8661, allocations: 8 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.8664, allocations: 145.5 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8667, allocations: 0.7168 MB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.8667, allocations: 12.66 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.8668, allocations: 15.44 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8668, allocations: 0 / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of Templates: time 0.004629/0.8714, allocations: 2.22 MB / 1.109 GB, free: 6.949 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)