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.000964/0.0009639, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4861/0.4861, allocations: 90.91 MB / 99.34 MB, free: 2.129 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 343.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 95.89 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.531e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5308, allocations: 101.2 MB / 0.6524 GB, free: 8.805 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.5311, allocations: 75.83 kB / 0.6525 GB, free: 8.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.5418, allocations: 3.932 MB / 0.6564 GB, free: 5.355 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5419, allocations: 0 / 0.6564 GB, free: 5.355 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5419, allocations: 4 kB / 0.6564 GB, free: 5.352 MB / 458.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.0005849/0.5425, allocations: 441.8 kB / 0.6568 GB, free: 4.891 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.5426, allocations: 12.03 kB / 0.6568 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.5426, allocations: 15.86 kB / 0.6568 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5429, allocations: 209.8 kB / 0.657 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.543, allocations: 0 / 0.657 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.543, allocations: 10.44 kB / 0.657 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.5431, allocations: 35.05 kB / 0.6571 GB, free: 4.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5433, allocations: 93.45 kB / 0.6571 GB, free: 4.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5433, allocations: 4 kB / 0.6571 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5433, allocations: 0 / 0.6571 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5433, allocations: 4 kB / 0.6571 GB, free: 4.492 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.5436, allocations: 207.3 kB / 0.6573 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.5437, allocations: 78.05 kB / 0.6574 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.5438, allocations: 55.56 kB / 0.6575 GB, free: 4.145 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.5438, allocations: 4 kB / 0.6575 GB, free: 4.141 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.544, allocations: 108.8 kB / 0.6576 GB, free: 4.031 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.544, allocations: 0 / 0.6576 GB, free: 4.031 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003855/0.5444, allocations: 175.7 kB / 0.6577 GB, free: 3.879 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.5445, allocations: 85.09 kB / 0.6578 GB, free: 3.777 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5446, allocations: 134.7 kB / 0.658 GB, free: 3.652 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5446, allocations: 29.7 kB / 0.658 GB, free: 3.617 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5447, allocations: 96.2 kB / 0.6581 GB, free: 3.531 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.5448, allocations: 38.98 kB / 0.6581 GB, free: 3.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.5448, allocations: 3.938 kB / 0.6581 GB, free: 3.496 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5449, allocations: 324.9 kB / 0.6584 GB, free: 3.176 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.545, allocations: 41.42 kB / 0.6585 GB, free: 3.145 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.5452, allocations: 203 kB / 0.6587 GB, free: 2.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.5453, allocations: 73.78 kB / 0.6587 GB, free: 2.855 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5453, allocations: 0 / 0.6587 GB, free: 2.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002346/0.5456, allocations: 158.8 kB / 0.6589 GB, free: 2.719 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5456, allocations: 9.406 kB / 0.6589 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.5457, allocations: 11.94 kB / 0.6589 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5457, allocations: 3.984 kB / 0.6589 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.5457, allocations: 15.88 kB / 0.6589 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.5458, allocations: 4 kB / 0.6589 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.546, allocations: 83.75 kB / 0.659 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.5461, allocations: 12.06 kB / 0.659 GB, free: 2.586 MB / 458.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.192e-05/0.5462, allocations: 109 kB / 0.6591 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002217/0.5464, allocations: 159.8 kB / 0.6593 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.5464, allocations: 15.77 kB / 0.6593 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.5464, allocations: 12.12 kB / 0.6593 GB, free: 2.312 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5465, allocations: 4 kB / 0.6593 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5465, allocations: 0 / 0.6593 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5465, allocations: 4 kB / 0.6593 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.5466, allocations: 167.7 kB / 0.6595 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5466, allocations: 4 kB / 0.6595 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.5466, allocations: 8.859 kB / 0.6595 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5467, allocations: 0 / 0.6595 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5467, allocations: 7.953 kB / 0.6595 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5467, allocations: 0 / 0.6595 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5467, allocations: 0 / 0.6595 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5469, allocations: 208.1 kB / 0.6597 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.547, allocations: 88.92 kB / 0.6598 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.547, allocations: 15.88 kB / 0.6598 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.5471, allocations: 4 kB / 0.6598 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5471, allocations: 7.984 kB / 0.6598 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.5471, allocations: 4 kB / 0.6598 GB, free: 1.762 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.5472, allocations: 112 kB / 0.6599 GB, free: 1.664 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5472, allocations: 0 / 0.6599 GB, free: 1.664 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.5475, allocations: 78.8 kB / 0.66 GB, free: 1.59 MB / 458.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.0006495/0.5482, allocations: 0.8623 MB / 0.6608 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.5484, allocations: 162.1 kB / 0.661 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5484, allocations: 0 / 0.661 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.5485, allocations: 38.75 kB / 0.661 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.5486, allocations: 11.8 kB / 0.661 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.5491, allocations: 231.9 kB / 0.6613 GB, free: 288 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5493, allocations: 0.7077 MB / 0.6619 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.5494, allocations: 12.66 kB / 0.662 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.5494, allocations: 26.94 kB / 0.662 GB, free: 15.52 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5494, allocations: 0 / 0.662 GB, free: 15.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.5716, allocations: 3.244 MB / 0.6651 GB, free: 12.32 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.5718, allocations: 132.5 kB / 0.6653 GB, free: 12.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.037, allocations: 0 / 0.6653 GB, free: 12.14 MB / 474.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)