Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.498/2.498, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001348/0.001347, allocations: 185.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009982/0.0009979, allocations: 92.41 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 11.09 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2383, allocations: 115.3 MB / 0.9793 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9342/1.173, allocations: 138.2 MB / 1.114 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.173, allocations: 73.36 kB / 1.114 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01713/1.19, allocations: 3.945 MB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/1.19, allocations: 0 / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.24e-05/1.19, allocations: 0 / 1.118 GB, free: 31.22 MB / 0.698 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.0007081/1.191, allocations: 438.6 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.191, allocations: 11.78 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/1.191, allocations: 12.75 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/1.191, allocations: 214.2 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.191, allocations: 13.89 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/1.191, allocations: 18.03 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/1.192, allocations: 88.03 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.192, allocations: 3.938 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.192, allocations: 0 / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.192, allocations: 0 / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/1.192, allocations: 45.92 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/1.192, allocations: 245.8 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/1.192, allocations: 86.95 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/1.192, allocations: 55.83 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/1.192, allocations: 0 / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/1.193, allocations: 130 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/1.193, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005083/1.193, allocations: 196.5 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/1.193, allocations: 91.73 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.193, allocations: 145.3 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/1.194, allocations: 41.27 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/1.194, allocations: 102.7 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/1.194, allocations: 37.7 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/1.194, allocations: 4 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.194, allocations: 324.9 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/1.194, allocations: 42.67 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/1.194, allocations: 215.8 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/1.194, allocations: 97.31 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.194, allocations: 0 / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003564/1.195, allocations: 179.7 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.195, allocations: 7.688 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.195, allocations: 3.875 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.195, allocations: 4 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.195, allocations: 10.78 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.195, allocations: 160 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/1.196, allocations: 85.94 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/1.196, allocations: 15.61 kB / 1.121 GB, free: 29.26 MB / 0.698 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.0001665/1.196, allocations: 139.8 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/1.196, allocations: 15.59 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/1.196, allocations: 19.03 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.196, allocations: 0 / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.196, allocations: 0 / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.196, allocations: 0 / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/1.196, allocations: 205.8 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.196, allocations: 0 / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/1.196, allocations: 7.688 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.196, allocations: 3.938 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.196, allocations: 3.875 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.196, allocations: 0 / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.196, allocations: 6.703 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/1.197, allocations: 195.2 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/1.197, allocations: 87.98 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/1.197, allocations: 0 / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/1.197, allocations: 4.812 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/1.197, allocations: 13.8 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/1.197, allocations: 3.812 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.78e-05/1.197, allocations: 119.4 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.197, allocations: 0 / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004787/1.197, allocations: 83.12 kB / 1.122 GB, free: 28.63 MB / 0.698 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.0003415/1.198, allocations: 176.8 kB / 1.122 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003628/1.198, allocations: 157.3 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.198, allocations: 0 / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/1.198, allocations: 46.16 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.199, allocations: 21.06 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/1.199, allocations: 238.6 kB / 1.122 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.199, allocations: 0.7076 MB / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000103/1.2, allocations: 9.641 kB / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/1.2, allocations: 11.31 kB / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.294e-06/1.2, allocations: 0 / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of Templates: time 0.006984/1.207, allocations: 2.324 MB / 1.125 GB, free: 27.38 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)