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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.501/2.501, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001445/0.001444, allocations: 184.8 kB / 360.6 MB, free: 7.281 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.131/2.131, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001112/0.001112, allocations: 96.55 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.505e-05, allocations: 4 kB / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.9248, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/1.175, allocations: 137.4 MB / 1.098 GB, free: 2.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.175, allocations: 73.98 kB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01931/1.195, allocations: 3.899 MB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.235e-06/1.195, allocations: 4 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.195, allocations: 0 / 1.102 GB, free: 15.08 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.0007456/1.195, allocations: 426.2 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.195, allocations: 8.031 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/1.196, allocations: 21.05 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/1.196, allocations: 220.5 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.196, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/1.196, allocations: 12 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001629/1.196, allocations: 43.91 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/1.196, allocations: 80.81 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.196, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.196, allocations: 3.984 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.196, allocations: 3.953 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/1.197, allocations: 207.1 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/1.197, allocations: 85.19 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.197, allocations: 53.81 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/1.197, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/1.197, allocations: 110.8 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/1.198, allocations: 4 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005758/1.198, allocations: 165.4 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/1.198, allocations: 85.11 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/1.198, allocations: 139.3 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/1.198, allocations: 26.27 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/1.199, allocations: 100.6 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/1.199, allocations: 35.55 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/1.199, allocations: 3.938 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.199, allocations: 330.8 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/1.199, allocations: 40.17 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/1.199, allocations: 211.8 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/1.2, allocations: 61.22 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.2, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004549/1.2, allocations: 164.3 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.2, allocations: 8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/1.2, allocations: 9.109 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.2, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.2, allocations: 7.938 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.549e-06/1.2, allocations: 4 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/1.201, allocations: 83.8 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/1.201, allocations: 8 kB / 1.104 GB, free: 12.09 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.0001486/1.201, allocations: 124.7 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004653/1.202, allocations: 159.3 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/1.202, allocations: 11.91 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/1.202, allocations: 8.625 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.202, allocations: 7.953 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.202, allocations: 3.188 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.202, allocations: 3.094 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/1.202, allocations: 170.1 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.202, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/1.202, allocations: 11.98 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.202, allocations: 4 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.202, allocations: 9.016 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.202, allocations: 4 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.202, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/1.203, allocations: 195.4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/1.203, allocations: 89 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/1.203, allocations: 8 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/1.203, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/1.203, allocations: 15.94 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/1.203, allocations: 4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001064/1.203, allocations: 107.3 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.203, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005298/1.204, allocations: 79.92 kB / 1.105 GB, free: 11.01 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.001064/1.205, allocations: 0.8673 MB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004087/1.205, allocations: 159.3 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.205, allocations: 4 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.205, allocations: 40.22 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/1.205, allocations: 6.578 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/1.206, allocations: 231.5 kB / 1.106 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/1.207, allocations: 0.7046 MB / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.392e-05/1.207, allocations: 16.73 kB / 1.107 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/1.207, allocations: 31.42 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.207, allocations: 0 / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/1.254, allocations: 3.225 MB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/1.255, allocations: 151.2 kB / 1.11 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.884, allocations: 0 / 1.11 GB, free: 5.543 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)