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: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008619, allocations: 96.27 kB / 15.68 MB, free: 488 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.0009138/0.0009138, allocations: 171.8 kB / 16.56 MB, free: 6.387 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.397/1.397, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6677/0.6677, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 8.938 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001221/0.1462, allocations: 1.099 MB / 0.5579 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006657/0.1469, allocations: 446.8 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1469, allocations: 4 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.147, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.147, allocations: 15.91 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1476, allocations: 185.1 kB / 0.5585 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1477, allocations: 87.78 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1477, allocations: 7.984 kB / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.1478, allocations: 55.89 kB / 0.5587 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.1479, allocations: 43.89 kB / 0.5587 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1479, allocations: 4 kB / 0.5587 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.1481, allocations: 143.8 kB / 0.5588 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1482, allocations: 27.97 kB / 0.5589 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.1482, allocations: 45.64 kB / 0.5589 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1484, allocations: 160 kB / 0.5591 GB, free: 9.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1484, allocations: 0 / 0.5591 GB, free: 9.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1484, allocations: 0 / 0.5591 GB, free: 9.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1484, allocations: 0 / 0.5591 GB, free: 9.309 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.0004286/0.1489, allocations: 426.9 kB / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1489, allocations: 16.02 kB / 0.5595 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.149, allocations: 11.91 kB / 0.5595 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1492, allocations: 208.5 kB / 0.5597 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1492, allocations: 4 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.1492, allocations: 15.95 kB / 0.5597 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1494, allocations: 91.38 kB / 0.5598 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1494, allocations: 0 / 0.5598 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1494, allocations: 0 / 0.5598 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1494, allocations: 4 kB / 0.5598 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.1495, allocations: 35.92 kB / 0.5598 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.1497, allocations: 238.4 kB / 0.5601 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.1498, allocations: 77.2 kB / 0.5601 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.1498, allocations: 3.938 kB / 0.5602 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.15, allocations: 109.2 kB / 0.5603 GB, free: 7.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/0.15, allocations: 0 / 0.5603 GB, free: 7.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003486/0.1503, allocations: 351.8 kB / 0.5606 GB, free: 7.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.1504, allocations: 89.09 kB / 0.5607 GB, free: 7.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1505, allocations: 151.9 kB / 0.5608 GB, free: 7.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1505, allocations: 33.7 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1506, allocations: 100.5 kB / 0.5609 GB, free: 7.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1506, allocations: 35.45 kB / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1507, allocations: 7.938 kB / 0.561 GB, free: 7.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.1507, allocations: 322.8 kB / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.1508, allocations: 44.17 kB / 0.5613 GB, free: 6.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.151, allocations: 204.9 kB / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.1511, allocations: 67.75 kB / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1511, allocations: 0 / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001993/0.1513, allocations: 165.4 kB / 0.5618 GB, free: 6.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1513, allocations: 4 kB / 0.5618 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.1514, allocations: 4 kB / 0.5618 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1514, allocations: 0 / 0.5618 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.1514, allocations: 8 kB / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1514, allocations: 0 / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1517, allocations: 95.75 kB / 0.5619 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1517, allocations: 11.98 kB / 0.5619 GB, free: 6.098 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 9.406e-05/0.1518, allocations: 129.8 kB / 0.562 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.1519, allocations: 19.77 kB / 0.562 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.1519, allocations: 12.7 kB / 0.562 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1519, allocations: 8.078 kB / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1519, allocations: 0 / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1519, allocations: 4 kB / 0.562 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1521, allocations: 185.6 kB / 0.5622 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1521, allocations: 8 kB / 0.5622 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1521, allocations: 4 kB / 0.5622 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1521, allocations: 0 / 0.5622 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1521, allocations: 11.95 kB / 0.5622 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1521, allocations: 3.938 kB / 0.5622 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1521, allocations: 0 / 0.5622 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1523, allocations: 195.3 kB / 0.5624 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1524, allocations: 96.8 kB / 0.5625 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1524, allocations: 4 kB / 0.5625 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.1525, allocations: 4 kB / 0.5625 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1525, allocations: 7.984 kB / 0.5625 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1525, allocations: 4 kB / 0.5625 GB, free: 5.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.1526, allocations: 113 kB / 0.5627 GB, free: 5.203 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1526, allocations: 4 kB / 0.5627 GB, free: 5.199 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1529, allocations: 72 kB / 0.5627 GB, free: 5.129 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.0001964/0.1531, allocations: 163.9 kB / 0.5629 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1533, allocations: 163.3 kB / 0.563 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1533, allocations: 0 / 0.563 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.1534, allocations: 43.92 kB / 0.5631 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.1535, allocations: 7.953 kB / 0.5631 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.1538, allocations: 254.4 kB / 0.5633 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.154, allocations: 0.7082 MB / 0.564 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.1541, allocations: 8.672 kB / 0.564 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1541, allocations: 11.44 kB / 0.564 GB, free: 3.695 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1541, allocations: 0 / 0.564 GB, free: 3.695 MB / 430.1 MB Notification: Performance of Templates: time 0.004208/0.1583, allocations: 2.318 MB / 0.5663 GB, free: 1.41 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (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 & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)