Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001323/0.001323, allocations: 181.8 kB / 371.6 MB, free: 3.348 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.755/1.755, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009825/0.0009825, allocations: 91.45 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.497e-05/4.498e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7363/1.002, allocations: 139.2 MB / 1.116 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/1.002, allocations: 68.8 kB / 1.116 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009429/1.012, allocations: 3.913 MB / 1.12 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/1.012, allocations: 0 / 1.12 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.012, allocations: 4 kB / 1.12 GB, free: 42.09 MB / 0.7448 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.0004249/1.012, allocations: 418 kB / 1.12 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.012, allocations: 8.031 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/1.012, allocations: 19.09 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/1.013, allocations: 215.2 kB / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/1.013, allocations: 8 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/1.013, allocations: 10.56 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/1.013, allocations: 93.17 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.013, allocations: 0 / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.013, allocations: 0 / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/1.013, allocations: 0 / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/1.013, allocations: 45.14 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/1.013, allocations: 249.1 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/1.013, allocations: 83.88 kB / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/1.013, allocations: 61.59 kB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/1.013, allocations: 0 / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/1.013, allocations: 119.6 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/1.013, allocations: 0 / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003284/1.014, allocations: 155 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.014, allocations: 87.08 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/1.014, allocations: 143.6 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/1.014, allocations: 33.86 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/1.014, allocations: 121.8 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/1.014, allocations: 33.47 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/1.014, allocations: 0 / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/1.014, allocations: 324.6 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/1.014, allocations: 44.77 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/1.014, allocations: 209.2 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.905e-05/1.014, allocations: 68.09 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.014, allocations: 0 / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002032/1.015, allocations: 166.5 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.015, allocations: 4 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.015, allocations: 7.375 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.015, allocations: 1.219 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/1.015, allocations: 11.94 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.015, allocations: 3.953 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.015, allocations: 90.75 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/1.015, allocations: 12.62 kB / 1.122 GB, free: 39.52 MB / 0.7448 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 6.843e-05/1.015, allocations: 120.6 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/1.015, allocations: 11.81 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/1.015, allocations: 12.88 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.015, allocations: 0 / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.015, allocations: 1.344 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.015, allocations: 7.953 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.906e-05/1.015, allocations: 196.9 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.015, allocations: 4 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/1.015, allocations: 11.94 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.015, allocations: 0.5625 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.015, allocations: 0 / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.015, allocations: 5.5 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.015, allocations: 0 / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/1.016, allocations: 206.9 kB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/1.016, allocations: 93.84 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/1.016, allocations: 4 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/1.016, allocations: 6.812 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/1.016, allocations: 15.27 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/1.016, allocations: 4 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.167e-05/1.016, allocations: 115 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.016, allocations: 0 / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003012/1.016, allocations: 85.64 kB / 1.123 GB, free: 38.67 MB / 0.7448 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.0002444/1.016, allocations: 176.4 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002067/1.017, allocations: 167.8 kB / 1.124 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/1.017, allocations: 0 / 1.124 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/1.017, allocations: 46.22 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/1.017, allocations: 8.375 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/1.017, allocations: 154.9 kB / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/1.017, allocations: 0.7063 MB / 1.124 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.364e-05/1.017, allocations: 12 kB / 1.124 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/1.017, allocations: 11.44 kB / 1.124 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.017, allocations: 0 / 1.124 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.004548/1.022, allocations: 2.316 MB / 1.127 GB, free: 36.17 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)