Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.613/1.613, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 190.2 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007979/0.0007978, allocations: 96.97 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 12 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.6934, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.8698, allocations: 141.6 MB / 1.165 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.87, allocations: 75.02 kB / 1.165 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.8803, allocations: 3.991 MB / 1.169 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8804, allocations: 1.828 kB / 1.169 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.8804, allocations: 4 kB / 1.169 GB, free: 15.06 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.000507/0.8809, allocations: 431.7 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.8809, allocations: 12.03 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.881, allocations: 13.36 kB / 1.169 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.8813, allocations: 211.8 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.8813, allocations: 8.875 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.8814, allocations: 13.84 kB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.8816, allocations: 91.06 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.8816, allocations: 4.688 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.8816, allocations: 1.312 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8816, allocations: 0.75 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.8817, allocations: 43.88 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.882, allocations: 240.8 kB / 1.17 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.8821, allocations: 87 kB / 1.17 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.8822, allocations: 58.69 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.8822, allocations: 1.812 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.8824, allocations: 128.3 kB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.8825, allocations: 3.938 kB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003875/0.8828, allocations: 195.6 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.8829, allocations: 90.31 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.883, allocations: 148.2 kB / 1.17 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.8831, allocations: 34.31 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.8832, allocations: 110.5 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.8832, allocations: 35.08 kB / 1.17 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.8832, allocations: 4 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8833, allocations: 323.8 kB / 1.171 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.8834, allocations: 45.84 kB / 1.171 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.8837, allocations: 211.9 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.8838, allocations: 106.5 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8838, allocations: 0 / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002443/0.8841, allocations: 170.3 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8841, allocations: 12.59 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.8841, allocations: 5.547 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8842, allocations: 4.516 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.8842, allocations: 5.219 kB / 1.171 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8842, allocations: 4 kB / 1.171 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.8845, allocations: 85.27 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.8846, allocations: 8.656 kB / 1.171 GB, free: 12.12 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 () * 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.0001186/0.8847, allocations: 141.4 kB / 1.171 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.8847, allocations: 11.84 kB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.8848, allocations: 14.69 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8848, allocations: 4 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8848, allocations: 0 / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8848, allocations: 1.594 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.8849, allocations: 199.9 kB / 1.172 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.885, allocations: 4 kB / 1.172 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.885, allocations: 4.703 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.885, allocations: 0.5625 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.885, allocations: 12.52 kB / 1.172 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.885, allocations: 0.7031 kB / 1.172 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.885, allocations: 0 / 1.172 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.8853, allocations: 195.7 kB / 1.172 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.8854, allocations: 86.66 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.8854, allocations: 5.219 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.8854, allocations: 12.8 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.8855, allocations: 2.484 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.8855, allocations: 8.703 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.462e-05/0.8856, allocations: 109.5 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.674e-06/0.8856, allocations: 0 / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003575/0.886, allocations: 90.45 kB / 1.172 GB, free: 11.2 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) * 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.0002571/0.8862, allocations: 180.5 kB / 1.172 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.8865, allocations: 163.9 kB / 1.173 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8865, allocations: 4 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.8866, allocations: 44.25 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.8867, allocations: 10.56 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.8872, allocations: 241.7 kB / 1.173 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.8875, allocations: 0.7057 MB / 1.174 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.8875, allocations: 12.19 kB / 1.174 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.8876, allocations: 13.59 kB / 1.174 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8876, allocations: 0 / 1.174 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.005348/0.8929, allocations: 2.348 MB / 1.176 GB, free: 8.406 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)