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.741/1.741, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001273/0.001273, allocations: 177.1 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.691/1.691, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009074/0.0009076, allocations: 95.67 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 14.39 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7993/1.04, allocations: 138.4 MB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.041, allocations: 71.89 kB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01087/1.052, allocations: 3.924 MB / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.052, allocations: 7.625 kB / 1.119 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.052, allocations: 0 / 1.119 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.0005322/1.052, allocations: 442.9 kB / 1.119 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.052, allocations: 11.67 kB / 1.119 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/1.052, allocations: 40.25 kB / 1.119 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/1.052, allocations: 11.53 kB / 1.119 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/1.053, allocations: 218.1 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.053, allocations: 10.84 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/1.053, allocations: 11.56 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.053, allocations: 81.52 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.053, allocations: 3.781 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/1.053, allocations: 3 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.053, allocations: 0 / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/1.053, allocations: 43.77 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/1.053, allocations: 249.2 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/1.053, allocations: 87 kB / 1.12 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/1.053, allocations: 0 / 1.12 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/1.054, allocations: 121 kB / 1.12 GB, free: 30.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.031e-06/1.054, allocations: 0 / 1.12 GB, free: 30.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0004572/1.054, allocations: 374 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.054, allocations: 80.95 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/1.054, allocations: 140 kB / 1.12 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/1.054, allocations: 36.03 kB / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/1.054, allocations: 102.3 kB / 1.12 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/1.055, allocations: 43.95 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/1.055, allocations: 3.906 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.055, allocations: 328.7 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/1.055, allocations: 43.03 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/1.055, allocations: 213.3 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/1.055, allocations: 60.83 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.055, allocations: 0 / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002281/1.055, allocations: 165.6 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.055, allocations: 11.66 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.055, allocations: 7.875 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.055, allocations: 0 / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/1.055, allocations: 12.92 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.055, allocations: 3.953 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/1.056, allocations: 90.5 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/1.056, allocations: 3.844 kB / 1.121 GB, free: 29.71 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.0001219/1.056, allocations: 142.8 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/1.056, allocations: 7.875 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/1.056, allocations: 11.88 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.056, allocations: 0 / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.056, allocations: 0 / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.056, allocations: 10.78 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/1.056, allocations: 197.5 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.056, allocations: 3.094 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/1.056, allocations: 7.688 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.056, allocations: 0 / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/1.056, allocations: 7.781 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.056, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.056, allocations: 3.938 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/1.056, allocations: 207.3 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/1.056, allocations: 84.86 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.056, allocations: 0 / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/1.057, allocations: 10.47 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/1.057, allocations: 14.2 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.057, allocations: 3.844 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.455e-05/1.057, allocations: 113.2 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.057, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003052/1.057, allocations: 87.23 kB / 1.122 GB, free: 29.08 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.0006336/1.058, allocations: 0.8759 MB / 1.123 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002288/1.058, allocations: 164.8 kB / 1.123 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.058, allocations: 0 / 1.123 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/1.058, allocations: 40.81 kB / 1.123 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/1.058, allocations: 15.23 kB / 1.123 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.059, allocations: 0.9681 MB / 1.124 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/1.059, allocations: 0.7074 MB / 1.125 GB, free: 27.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.933e-05/1.059, allocations: 11.58 kB / 1.125 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/1.06, allocations: 29.92 kB / 1.125 GB, free: 27 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.06, allocations: 3.75 kB / 1.125 GB, free: 27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/1.073, allocations: 3.594 MB / 1.129 GB, free: 26.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.074, allocations: 197.2 kB / 1.129 GB, free: 26.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.687, allocations: 4 kB / 1.129 GB, free: 26.43 MB / 0.698 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)