Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 288.3 MB / 303.2 MB, free: 8.328 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.001102/0.001102, allocations: 179.4 kB / 371.8 MB, free: 10.27 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.811/1.811, allocations: 205.4 MB / 0.6306 GB, free: 9.898 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.0009256/0.0009254, allocations: 94.78 kB / 0.7439 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 10.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.504, allocations: 138.4 MB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.504, allocations: 70.3 kB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01373/1.518, allocations: 3.921 MB / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.374e-06/1.518, allocations: 0 / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.518, allocations: 3.875 kB / 1.118 GB, free: 31.88 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.0008206/1.519, allocations: 439.5 kB / 1.119 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/1.519, allocations: 11.53 kB / 1.119 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/1.519, allocations: 14.78 kB / 1.119 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/1.519, allocations: 220.6 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/1.519, allocations: 7.875 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/1.52, allocations: 15.22 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/1.52, allocations: 82.19 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.52, allocations: 0 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.52, allocations: 0 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/1.52, allocations: 0 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/1.52, allocations: 49.84 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/1.52, allocations: 249.6 kB / 1.119 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/1.521, allocations: 84.08 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/1.521, allocations: 0 / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/1.521, allocations: 120.6 kB / 1.12 GB, free: 30.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/1.521, allocations: 0 / 1.12 GB, free: 30.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000643/1.522, allocations: 359.5 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.522, allocations: 84.42 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/1.522, allocations: 135.9 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/1.522, allocations: 40.02 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.522, allocations: 101.6 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/1.522, allocations: 36.73 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/1.522, allocations: 3.812 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.522, allocations: 335.1 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/1.522, allocations: 42.5 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/1.523, allocations: 221.1 kB / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/1.523, allocations: 59.27 kB / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.523, allocations: 0 / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003128/1.523, allocations: 167.8 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.523, allocations: 7.781 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/1.523, allocations: 3.969 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.523, allocations: 3.812 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/1.523, allocations: 10.81 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.523, allocations: 2.766 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/1.524, allocations: 90.22 kB / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/1.524, allocations: 10.44 kB / 1.121 GB, free: 29.77 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.0001713/1.524, allocations: 140.8 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/1.524, allocations: 7.75 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/1.524, allocations: 14.2 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.524, allocations: 3.844 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.524, allocations: 0 / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.524, allocations: 0 / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/1.524, allocations: 209.1 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.524, allocations: 2.766 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/1.524, allocations: 3.875 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.524, allocations: 0 / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/1.524, allocations: 7.969 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.524, allocations: 0 / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.524, allocations: 0 / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/1.525, allocations: 220.2 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/1.525, allocations: 81.02 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/1.525, allocations: 3.812 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/1.525, allocations: 7.969 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/1.525, allocations: 10.25 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/1.525, allocations: 7.734 kB / 1.122 GB, free: 29.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.562e-05/1.525, allocations: 116.6 kB / 1.122 GB, free: 29.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.525, allocations: 0 / 1.122 GB, free: 29.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005012/1.526, allocations: 73.41 kB / 1.122 GB, free: 29.14 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.0003553/1.526, allocations: 186.4 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003174/1.526, allocations: 166 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.526, allocations: 0 / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/1.526, allocations: 44.08 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.527, allocations: 10.23 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/1.527, allocations: 241.5 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/1.527, allocations: 0.7141 MB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.677e-05/1.528, allocations: 7.406 kB / 1.124 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/1.528, allocations: 15.12 kB / 1.124 GB, free: 28.07 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.528, allocations: 0 / 1.124 GB, free: 28.07 MB / 0.698 GB Notification: Performance of Templates: time 0.006669/1.534, allocations: 2.311 MB / 1.126 GB, free: 27.87 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)