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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007946/0.0007977, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008246/0.0008246, allocations: 178.3 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5942/0.5942, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 13.11 kB / 493 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 77.11 MB / 0.5567 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001139/0.1357, allocations: 1.103 MB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.1363, allocations: 450.8 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.1363, allocations: 0 / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.1364, allocations: 3.984 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.1364, allocations: 7.984 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.1369, allocations: 187 kB / 0.5584 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1371, allocations: 87.89 kB / 0.5585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.402e-05/0.1371, allocations: 11.98 kB / 0.5585 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.1372, allocations: 55.83 kB / 0.5586 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.1372, allocations: 39.89 kB / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1372, allocations: 8 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1374, allocations: 135.8 kB / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1375, allocations: 31.91 kB / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.1375, allocations: 41.64 kB / 0.5588 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1377, allocations: 160 kB / 0.559 GB, free: 9.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.1377, allocations: 0 / 0.559 GB, free: 9.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1377, allocations: 4 kB / 0.559 GB, free: 9.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.1377, allocations: 0 / 0.559 GB, free: 9.426 MB / 430.1 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.0003342/0.138, allocations: 422.9 kB / 0.5594 GB, free: 8.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.1381, allocations: 12.03 kB / 0.5594 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.1381, allocations: 34.55 kB / 0.5594 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1381, allocations: 15.91 kB / 0.5594 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1383, allocations: 206.8 kB / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1383, allocations: 12 kB / 0.5596 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1383, allocations: 15.95 kB / 0.5596 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.819e-05/0.1384, allocations: 79.38 kB / 0.5597 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-06/0.1385, allocations: 0 / 0.5597 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.1385, allocations: 4 kB / 0.5597 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-06/0.1385, allocations: 0 / 0.5597 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.1385, allocations: 43.86 kB / 0.5598 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1387, allocations: 238.4 kB / 0.56 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.1388, allocations: 81.2 kB / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.1388, allocations: 0 / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.139, allocations: 113.1 kB / 0.5602 GB, free: 7.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 8.92e-07/0.139, allocations: 4 kB / 0.5602 GB, free: 7.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002955/0.1393, allocations: 347.6 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1393, allocations: 85.09 kB / 0.5606 GB, free: 7.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.1394, allocations: 147.5 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1394, allocations: 37.7 kB / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.1395, allocations: 96.52 kB / 0.5609 GB, free: 7.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1395, allocations: 43.45 kB / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.1395, allocations: 0 / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.1396, allocations: 330.8 kB / 0.5612 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.1397, allocations: 36.17 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1399, allocations: 199.7 kB / 0.5614 GB, free: 6.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/0.1399, allocations: 63.75 kB / 0.5615 GB, free: 6.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1399, allocations: 0 / 0.5615 GB, free: 6.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001879/0.1401, allocations: 161.4 kB / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1402, allocations: 8 kB / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1402, allocations: 0 / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.1402, allocations: 8 kB / 0.5617 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.1402, allocations: 11.94 kB / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1403, allocations: 4 kB / 0.5617 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.1405, allocations: 83.75 kB / 0.5618 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1405, allocations: 12.61 kB / 0.5618 GB, free: 6.18 MB / 430.1 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 () * 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 8.596e-05/0.1406, allocations: 133.9 kB / 0.5619 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.1406, allocations: 15.77 kB / 0.5619 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.1407, allocations: 20.7 kB / 0.5619 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1407, allocations: 0 / 0.5619 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1407, allocations: 0 / 0.5619 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1407, allocations: 3.938 kB / 0.562 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.1408, allocations: 189.6 kB / 0.5621 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1408, allocations: 0 / 0.5621 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1409, allocations: 11.94 kB / 0.5621 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1409, allocations: 7.953 kB / 0.5622 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1409, allocations: 0 / 0.5622 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1409, allocations: 0 / 0.5622 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1409, allocations: 0 / 0.5622 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1411, allocations: 191.6 kB / 0.5623 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1411, allocations: 100.8 kB / 0.5624 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1411, allocations: 0 / 0.5624 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.1412, allocations: 19.88 kB / 0.5624 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.1412, allocations: 7.984 kB / 0.5625 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1412, allocations: 8 kB / 0.5625 GB, free: 5.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.1413, allocations: 109.3 kB / 0.5626 GB, free: 5.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1413, allocations: 0 / 0.5626 GB, free: 5.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1415, allocations: 72 kB / 0.5626 GB, free: 5.203 MB / 430.1 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) * 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.0004936/0.142, allocations: 0.8589 MB / 0.5635 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1422, allocations: 163.3 kB / 0.5636 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.1422, allocations: 0 / 0.5636 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.1423, allocations: 47.92 kB / 0.5637 GB, free: 4.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.887e-05/0.1424, allocations: 7.938 kB / 0.5637 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.1433, allocations: 0.9457 MB / 0.5646 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1435, allocations: 0.7121 MB / 0.5653 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.638e-05/0.1436, allocations: 4.672 kB / 0.5653 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1436, allocations: 31.42 kB / 0.5653 GB, free: 2.297 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1436, allocations: 0 / 0.5653 GB, free: 2.297 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/0.2601, allocations: 3.611 MB / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000987/0.2611, allocations: 177.5 kB / 0.569 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.878, allocations: 4 kB / 0.569 GB, free: 14.62 MB / 446.1 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) Environment - environmentSimulation: