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.58/1.58, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.0009678/0.0009678, allocations: 172.8 kB / 366.7 MB, free: 1.652 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.585/1.585, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0009254/0.0009253, allocations: 89.33 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.59e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6527, allocations: 116.3 MB / 0.9732 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.8404, allocations: 138.6 MB / 1.109 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.8406, allocations: 75.95 kB / 1.109 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.8519, allocations: 3.899 MB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8519, allocations: 0 / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.8519, allocations: 4 kB / 1.112 GB, free: 7.711 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.0006774/0.8526, allocations: 422.1 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.8527, allocations: 8.031 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.8528, allocations: 16.44 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.8532, allocations: 218.8 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.8532, allocations: 1.781 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.8532, allocations: 12 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001326/0.8534, allocations: 35.97 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.8536, allocations: 94.38 kB / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.8536, allocations: 0 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.8536, allocations: 0 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8536, allocations: 0 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.8539, allocations: 211 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.854, allocations: 77.25 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.8541, allocations: 60.5 kB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.8541, allocations: 3.938 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.8543, allocations: 110.9 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.8543, allocations: 0 / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003746/0.8547, allocations: 159.3 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.8547, allocations: 89.09 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.8549, allocations: 142.9 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.8549, allocations: 25.7 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.855, allocations: 104.5 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.855, allocations: 35.55 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.855, allocations: 3.094 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8552, allocations: 326.8 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.8552, allocations: 40.17 kB / 1.115 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.8555, allocations: 210.5 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.8556, allocations: 63.91 kB / 1.115 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8556, allocations: 0 / 1.115 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002468/0.8558, allocations: 163.7 kB / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8559, allocations: 4 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.8559, allocations: 4 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8559, allocations: 4 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.856, allocations: 7.938 kB / 1.115 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.856, allocations: 8 kB / 1.115 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.8563, allocations: 79.84 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.8563, allocations: 11.95 kB / 1.115 GB, free: 4.734 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 0.000102/0.8564, allocations: 116.9 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.8565, allocations: 11.81 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.8565, allocations: 12.72 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.8565, allocations: 7.984 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8565, allocations: 4 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8565, allocations: 0 / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.8567, allocations: 174.1 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8567, allocations: 0 / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.8567, allocations: 11.92 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8567, allocations: 0 / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.8568, allocations: 4 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8568, allocations: 0 / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8568, allocations: 0 / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.8571, allocations: 216.8 kB / 1.116 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.8571, allocations: 89 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.8572, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.8572, allocations: 4 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.8573, allocations: 7.984 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.8573, allocations: 4 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.8574, allocations: 123.1 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8574, allocations: 0 / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003713/0.8577, allocations: 75.92 kB / 1.116 GB, free: 3.801 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.000322/0.8581, allocations: 175.8 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.8584, allocations: 155.3 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8584, allocations: 0 / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.8585, allocations: 43.98 kB / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.8586, allocations: 6.5 kB / 1.116 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.859, allocations: 155.8 kB / 1.116 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.8594, allocations: 0.7119 MB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.8595, allocations: 8.609 kB / 1.117 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.8595, allocations: 19.42 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8595, allocations: 0 / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.005125/0.8646, allocations: 2.222 MB / 1.119 GB, free: 340 kB / 0.7136 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)