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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.00108/0.00108, allocations: 180.8 kB / 361.4 MB, free: 6.812 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.842/1.842, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.000914/0.0009143, allocations: 92.25 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.597e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.6557, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.8452, allocations: 137.6 MB / 1.099 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.8455, allocations: 72.48 kB / 1.099 GB, free: 2.051 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.8571, allocations: 3.91 MB / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8572, allocations: 0 / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.8572, allocations: 0 / 1.103 GB, free: 14.22 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.0005168/0.8577, allocations: 422.2 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8578, allocations: 11.97 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.8578, allocations: 16.84 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.8582, allocations: 228 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.8582, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.8582, allocations: 12 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001363/0.8584, allocations: 31.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.8586, allocations: 83.38 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.8586, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8586, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.8587, allocations: 2.625 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.8589, allocations: 215 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.8591, allocations: 89.16 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.8592, allocations: 53.81 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.8592, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.8594, allocations: 114.8 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.8594, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003899/0.8598, allocations: 161.5 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.8598, allocations: 85.09 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.86, allocations: 134.3 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.86, allocations: 33.69 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.8601, allocations: 100.5 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.8601, allocations: 39.55 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.8602, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8603, allocations: 326.8 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.8604, allocations: 48.11 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.8606, allocations: 202.2 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.8607, allocations: 63.91 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8607, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002798/0.861, allocations: 163.4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8611, allocations: 4.781 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.8611, allocations: 7.984 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8611, allocations: 4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.8612, allocations: 8 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8612, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.8615, allocations: 79.84 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.8615, allocations: 14.77 kB / 1.105 GB, free: 11.23 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 9.952e-05/0.8616, allocations: 120.8 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002516/0.8619, allocations: 160.4 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.8619, allocations: 15.89 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.862, allocations: 10.44 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.862, allocations: 4 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.862, allocations: 3.953 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.862, allocations: 0 / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.8622, allocations: 174 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8622, allocations: 4 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.8622, allocations: 8 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8622, allocations: 0 / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.8622, allocations: 3.984 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8622, allocations: 4 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.8623, allocations: 0 / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.8626, allocations: 199.4 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.8626, allocations: 85.02 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.8626, allocations: 7.984 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.8627, allocations: 5.188 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.8628, allocations: 11.89 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.8628, allocations: 7.984 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.162e-05/0.8629, allocations: 109.5 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8629, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003519/0.8632, allocations: 83.91 kB / 1.106 GB, free: 10.14 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.000775/0.864, allocations: 0.8694 MB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.8643, allocations: 155.3 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8643, allocations: 0 / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.8643, allocations: 51.92 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.8645, allocations: 3.953 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.865, allocations: 226.5 kB / 1.108 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.8653, allocations: 0.7157 MB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.8653, allocations: 15.75 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.8654, allocations: 27.44 kB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.8654, allocations: 0 / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.8886, allocations: 3.232 MB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.8889, allocations: 149.9 kB / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.575, allocations: 0 / 1.112 GB, free: 4.668 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)