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.973/1.973, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001693/0.001693, allocations: 199.3 kB / 377.1 MB, free: 1.523 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.954/1.954, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009423/0.0009424, allocations: 84.78 kB / 0.751 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004732, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7462/1.096, allocations: 139.3 MB / 1.124 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.096, allocations: 76.38 kB / 1.124 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01075/1.107, allocations: 3.927 MB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.924e-06/1.107, allocations: 0 / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.107, allocations: 0 / 1.128 GB, free: 32.55 MB / 0.7292 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.0005658/1.108, allocations: 441 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.108, allocations: 20.61 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/1.108, allocations: 13.97 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/1.108, allocations: 216.1 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.108, allocations: 12 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/1.108, allocations: 8 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/1.109, allocations: 93.47 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.109, allocations: 0 / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/1.109, allocations: 5.344 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.109, allocations: 0 / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/1.109, allocations: 39.17 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/1.109, allocations: 242.1 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/1.109, allocations: 89.64 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/1.109, allocations: 2.406 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/1.109, allocations: 122.2 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/1.109, allocations: 0 / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000442/1.11, allocations: 356.6 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.11, allocations: 85.61 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.11, allocations: 141.2 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/1.11, allocations: 37.7 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/1.11, allocations: 108 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/1.11, allocations: 34.97 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/1.11, allocations: 4 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/1.11, allocations: 326.8 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/1.11, allocations: 42.84 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/1.11, allocations: 218.3 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.944e-05/1.11, allocations: 64.8 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.111, allocations: 0 / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002237/1.111, allocations: 167.4 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.111, allocations: 4.844 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.111, allocations: 4 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.111, allocations: 0 / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/1.111, allocations: 19.27 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.111, allocations: 4.562 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/1.111, allocations: 87.58 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/1.111, allocations: 12 kB / 1.131 GB, free: 29.5 MB / 0.7292 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.0001109/1.111, allocations: 135.4 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/1.111, allocations: 7.906 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/1.111, allocations: 13.75 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.111, allocations: 4 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.111, allocations: 4.5 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.111, allocations: 3.422 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/1.112, allocations: 202.9 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.112, allocations: 0.625 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/1.112, allocations: 11.94 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.112, allocations: 0 / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.112, allocations: 4 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.112, allocations: 1.203 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.112, allocations: 0 / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/1.112, allocations: 217.4 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/1.112, allocations: 85.02 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/1.112, allocations: 8.562 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/1.112, allocations: 0 / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/1.112, allocations: 7.375 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.112, allocations: 11.95 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.562e-05/1.112, allocations: 119.9 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.112, allocations: 0 / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003946/1.113, allocations: 83.41 kB / 1.132 GB, free: 28.57 MB / 0.7292 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.0002807/1.113, allocations: 171.2 kB / 1.132 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002603/1.113, allocations: 167.2 kB / 1.132 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.113, allocations: 0 / 1.132 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/1.113, allocations: 40.22 kB / 1.132 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/1.113, allocations: 7.922 kB / 1.132 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/1.114, allocations: 249.5 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.114, allocations: 0.7075 MB / 1.133 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.683e-05/1.114, allocations: 13.08 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/1.114, allocations: 11.44 kB / 1.133 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.114, allocations: 0 / 1.133 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.006122/1.12, allocations: 2.315 MB / 1.136 GB, free: 25.92 MB / 0.7292 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)