Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006357/0.006357, allocations: 101 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8554/0.8554, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 58.5 kB / 0.5813 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1566, allocations: 80.21 MB / 0.6596 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002664/0.1593, allocations: 1.411 MB / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.1603, allocations: 0.4982 MB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.1603, allocations: 0 / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.1604, allocations: 11.88 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.1605, allocations: 11.91 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.1613, allocations: 225.5 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1616, allocations: 147.7 kB / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.1616, allocations: 11.97 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1618, allocations: 59.89 kB / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.1618, allocations: 39.84 kB / 0.662 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1619, allocations: 8 kB / 0.662 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.1621, allocations: 167.8 kB / 0.6622 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.1622, allocations: 39.89 kB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.1623, allocations: 47.8 kB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1627, allocations: 239.4 kB / 0.6625 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1627, allocations: 0 / 0.6625 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1627, allocations: 4 kB / 0.6625 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1627, allocations: 0 / 0.6625 GB, free: 10.66 MB / 0.4981 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.0005885/0.1633, allocations: 451 kB / 0.6629 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1633, allocations: 12.03 kB / 0.6629 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.1634, allocations: 12.84 kB / 0.6629 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1636, allocations: 208.2 kB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1636, allocations: 4.375 kB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1637, allocations: 12.38 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1638, allocations: 87.83 kB / 0.6632 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1639, allocations: 192 / 0.6632 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1639, allocations: 7.938 kB / 0.6632 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1639, allocations: 4 kB / 0.6632 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.164, allocations: 35.97 kB / 0.6633 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.1643, allocations: 234.4 kB / 0.6635 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1644, allocations: 81.19 kB / 0.6636 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.1645, allocations: 53.81 kB / 0.6636 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1645, allocations: 0 / 0.6636 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.1647, allocations: 113 kB / 0.6637 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1647, allocations: 0 / 0.6637 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003512/0.1651, allocations: 201.3 kB / 0.6639 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1652, allocations: 81.11 kB / 0.664 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1653, allocations: 151.6 kB / 0.6641 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1653, allocations: 33.7 kB / 0.6642 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1654, allocations: 100.5 kB / 0.6643 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.1655, allocations: 35.55 kB / 0.6643 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.1655, allocations: 53.69 kB / 0.6644 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1657, allocations: 330.8 kB / 0.6647 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.1658, allocations: 35.98 kB / 0.6647 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.166, allocations: 204.3 kB / 0.6649 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1661, allocations: 92.55 kB / 0.665 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1661, allocations: 0 / 0.665 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002387/0.1664, allocations: 169.3 kB / 0.6652 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1664, allocations: 4 kB / 0.6652 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.1664, allocations: 7.984 kB / 0.6652 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1664, allocations: 0 / 0.6652 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.1665, allocations: 12 kB / 0.6652 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1665, allocations: 0 / 0.6652 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.1668, allocations: 73.88 kB / 0.6652 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1668, allocations: 12 kB / 0.6653 GB, free: 7.488 MB / 0.4981 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.167, allocations: 145.8 kB / 0.6654 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.167, allocations: 11.84 kB / 0.6654 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.167, allocations: 16.7 kB / 0.6654 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.167, allocations: 0 / 0.6654 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1671, allocations: 0 / 0.6654 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1671, allocations: 3.938 kB / 0.6654 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1672, allocations: 185.6 kB / 0.6656 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1672, allocations: 3.938 kB / 0.6656 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.1673, allocations: 7.984 kB / 0.6656 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1673, allocations: 4 kB / 0.6656 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1673, allocations: 8 kB / 0.6656 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1673, allocations: 3.938 kB / 0.6656 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1673, allocations: 4 kB / 0.6656 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1676, allocations: 177.7 kB / 0.6658 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.1676, allocations: 92.89 kB / 0.6659 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1677, allocations: 0 / 0.6659 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.1677, allocations: 7.984 kB / 0.6659 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1678, allocations: 12 kB / 0.6659 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1678, allocations: 0 / 0.6659 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.1679, allocations: 113.8 kB / 0.666 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1679, allocations: 0 / 0.666 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003323/0.1682, allocations: 79.98 kB / 0.6661 GB, free: 6.523 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002761/0.1685, allocations: 164.4 kB / 0.6663 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1688, allocations: 163.3 kB / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1688, allocations: 4 kB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.1689, allocations: 51.86 kB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.1691, allocations: 7.938 kB / 0.6665 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1695, allocations: 223.4 kB / 0.6667 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1698, allocations: 0.7074 MB / 0.6674 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.1699, allocations: 8.672 kB / 0.6674 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1699, allocations: 19.42 kB / 0.6674 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.1699, allocations: 4 kB / 0.6674 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.005961/0.1759, allocations: 2.509 MB / 0.6699 GB, free: 2.641 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)