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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001067/0.001067, allocations: 188.8 kB / 366.7 MB, free: 1.66 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.489/1.489, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.0008052/0.0008052, allocations: 99.12 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.815e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6311, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.8176, allocations: 138.6 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.8179, allocations: 71.95 kB / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01115/0.829, allocations: 3.905 MB / 1.113 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8291, allocations: 0 / 1.113 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.8291, allocations: 0 / 1.113 GB, free: 7.594 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.0004982/0.8296, allocations: 422.2 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8296, allocations: 15.97 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.8297, allocations: 15.81 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.83, allocations: 220.9 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.83, allocations: 4 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.8301, allocations: 8 kB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001061/0.8302, allocations: 39.97 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.8304, allocations: 88.56 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8304, allocations: 0 / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8304, allocations: 4 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.8304, allocations: 0 / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.8307, allocations: 211 kB / 1.114 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.8308, allocations: 73.25 kB / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.8309, allocations: 61.73 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8309, allocations: 8 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8311, allocations: 106.7 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.8311, allocations: 0.6562 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000361/0.8315, allocations: 161.5 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.8315, allocations: 85.11 kB / 1.114 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.8316, allocations: 132.9 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.8317, allocations: 33.7 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.8318, allocations: 108.5 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.8318, allocations: 27.56 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.8318, allocations: 3.375 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.832, allocations: 334.8 kB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.8321, allocations: 40.17 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.8323, allocations: 204 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.8324, allocations: 67.89 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8324, allocations: 0 / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002614/0.8327, allocations: 163.8 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8327, allocations: 4 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.8327, allocations: 4 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8328, allocations: 3.984 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.8328, allocations: 12.88 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8329, allocations: 3.984 kB / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.8331, allocations: 87.84 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.8332, allocations: 7.953 kB / 1.115 GB, free: 4.602 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.0001096/0.8333, allocations: 120.8 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002615/0.8336, allocations: 157.5 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.8336, allocations: 7.906 kB / 1.115 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.8336, allocations: 12.62 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8336, allocations: 4 kB / 1.115 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.8336, allocations: 13.06 kB / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8337, allocations: 0 / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.8338, allocations: 170.1 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8338, allocations: 0 / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.8339, allocations: 4 kB / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8339, allocations: 4 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.8339, allocations: 0 / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.8339, allocations: 0 / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.8339, allocations: 6.188 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.8342, allocations: 219.3 kB / 1.116 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.8343, allocations: 85.02 kB / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.8344, allocations: 0 / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.8344, allocations: 4 kB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.8345, allocations: 11.94 kB / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8345, allocations: 8 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.8346, allocations: 111.3 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8346, allocations: 0 / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00032/0.8349, allocations: 73.89 kB / 1.116 GB, free: 3.516 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.0007516/0.8357, allocations: 0.8658 MB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.8359, allocations: 165.7 kB / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8359, allocations: 4 kB / 1.117 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.836, allocations: 35.98 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.8362, allocations: 13.36 kB / 1.117 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.8367, allocations: 229.5 kB / 1.117 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.837, allocations: 0.7158 MB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.8371, allocations: 8.672 kB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.8371, allocations: 27.42 kB / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8371, allocations: 0 / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.8606, allocations: 3.236 MB / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.8608, allocations: 142.8 kB / 1.121 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.52, allocations: 0 / 1.121 GB, free: 14.03 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)