Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6215/0.6215, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 348.3 MB, free: 500 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 93.8 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.334e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3581, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4779, allocations: 101.9 MB / 0.6598 GB, free: 2.441 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4782, allocations: 71.95 kB / 0.6598 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.4893, allocations: 3.959 MB / 0.6637 GB, free: 14.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4893, allocations: 0 / 0.6637 GB, free: 14.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4893, allocations: 8 kB / 0.6637 GB, free: 14.41 MB / 490.7 MB 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.0004679/0.4898, allocations: 426.1 kB / 0.6641 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4898, allocations: 11.98 kB / 0.6641 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.4899, allocations: 46.48 kB / 0.6642 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.49, allocations: 15.86 kB / 0.6642 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.4903, allocations: 206.9 kB / 0.6644 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4903, allocations: 14.27 kB / 0.6644 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4903, allocations: 16 kB / 0.6644 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.4905, allocations: 79.34 kB / 0.6645 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4905, allocations: 11.92 kB / 0.6645 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4906, allocations: 7.938 kB / 0.6645 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4906, allocations: 0 / 0.6645 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.728e-05/0.4907, allocations: 35.98 kB / 0.6646 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.4909, allocations: 238.5 kB / 0.6648 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.491, allocations: 89.19 kB / 0.6649 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.4911, allocations: 57.8 kB / 0.6649 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.4911, allocations: 4 kB / 0.6649 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.4913, allocations: 118.7 kB / 0.665 GB, free: 12.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4913, allocations: 4 kB / 0.665 GB, free: 12.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003048/0.4916, allocations: 165.3 kB / 0.6652 GB, free: 12.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4917, allocations: 89.11 kB / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4918, allocations: 136.4 kB / 0.6654 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.4918, allocations: 33.7 kB / 0.6654 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.4919, allocations: 96.58 kB / 0.6655 GB, free: 12.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.492, allocations: 43.53 kB / 0.6656 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.492, allocations: 7.938 kB / 0.6656 GB, free: 12.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4921, allocations: 326.8 kB / 0.6659 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.4922, allocations: 40.17 kB / 0.6659 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.4924, allocations: 216.1 kB / 0.6661 GB, free: 11.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.4925, allocations: 66.28 kB / 0.6662 GB, free: 11.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4925, allocations: 1.125 kB / 0.6662 GB, free: 11.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000244/0.4928, allocations: 173.3 kB / 0.6664 GB, free: 11.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4928, allocations: 4 kB / 0.6664 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.4928, allocations: 8 kB / 0.6664 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4928, allocations: 0 / 0.6664 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.4929, allocations: 8 kB / 0.6664 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4929, allocations: 0 / 0.6664 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.4932, allocations: 95.69 kB / 0.6665 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.4932, allocations: 7.984 kB / 0.6665 GB, free: 11.26 MB / 490.7 MB 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 8.007e-05/0.4933, allocations: 120.9 kB / 0.6666 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.4933, allocations: 15.86 kB / 0.6666 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.4934, allocations: 12.62 kB / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4934, allocations: 4.844 kB / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4934, allocations: 0 / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4934, allocations: 0 / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.4936, allocations: 193.5 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4936, allocations: 4 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.4936, allocations: 4 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4936, allocations: 4 kB / 0.6668 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.4937, allocations: 11.95 kB / 0.6668 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4937, allocations: 0 / 0.6668 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4937, allocations: 2.438 kB / 0.6668 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.4939, allocations: 213.9 kB / 0.6671 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.494, allocations: 88.97 kB / 0.6671 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.494, allocations: 4 kB / 0.6671 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.447e-05/0.4941, allocations: 4 kB / 0.6671 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4941, allocations: 7.984 kB / 0.6672 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4941, allocations: 8 kB / 0.6672 GB, free: 10.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.707e-05/0.4942, allocations: 110.4 kB / 0.6673 GB, free: 10.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4942, allocations: 0 / 0.6673 GB, free: 10.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.4945, allocations: 83.86 kB / 0.6673 GB, free: 10.29 MB / 490.7 MB 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.0005848/0.4951, allocations: 0.8708 MB / 0.6682 GB, free: 9.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.4953, allocations: 163.3 kB / 0.6684 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4953, allocations: 0 / 0.6684 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.4954, allocations: 47.92 kB / 0.6684 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.4955, allocations: 13.28 kB / 0.6684 GB, free: 9.152 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.496, allocations: 237.8 kB / 0.6686 GB, free: 8.883 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4963, allocations: 0.708 MB / 0.6693 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.4963, allocations: 16.92 kB / 0.6693 GB, free: 8.125 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.4963, allocations: 27.44 kB / 0.6694 GB, free: 8.102 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4964, allocations: 0 / 0.6694 GB, free: 8.102 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.5104, allocations: 3.606 MB / 0.6729 GB, free: 4.672 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.5107, allocations: 163.4 kB / 0.673 GB, free: 4.438 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.059, allocations: 6.25 kB / 0.6731 GB, free: 4.434 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)