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.001489/0.001489, allocations: 107 kB / 17.03 MB, free: 5.699 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.001654/0.001654, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7081/0.7081, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3593, allocations: 76.13 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002472/0.3618, allocations: 1.403 MB / 0.5589 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.3626, allocations: 0.4947 MB / 0.5594 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.3627, allocations: 0 / 0.5594 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.188e-05/0.3628, allocations: 11.86 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.3629, allocations: 12.97 kB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.3636, allocations: 224.4 kB / 0.5596 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.3639, allocations: 150.3 kB / 0.5598 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3639, allocations: 9.219 kB / 0.5598 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.364, allocations: 57.23 kB / 0.5599 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.3641, allocations: 45.53 kB / 0.5599 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.3642, allocations: 9.812 kB / 0.5599 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.3645, allocations: 164.2 kB / 0.5601 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.3645, allocations: 39.66 kB / 0.5601 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.3646, allocations: 58.88 kB / 0.5602 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.365, allocations: 233.5 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.365, allocations: 0 / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.365, allocations: 0.5312 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.365, allocations: 1.188 kB / 0.5604 GB, free: 34.95 MB / 446.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.0005669/0.3656, allocations: 452.8 kB / 0.5608 GB, free: 34.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3656, allocations: 10.25 kB / 0.5608 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.3657, allocations: 11.53 kB / 0.5608 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3659, allocations: 202.7 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3659, allocations: 10.95 kB / 0.561 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.366, allocations: 10.88 kB / 0.561 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3661, allocations: 88.8 kB / 0.5611 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3661, allocations: 0.75 kB / 0.5611 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3662, allocations: 6.938 kB / 0.5611 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3662, allocations: 1.188 kB / 0.5611 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/0.3663, allocations: 37.44 kB / 0.5612 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.3665, allocations: 228 kB / 0.5614 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3666, allocations: 80.84 kB / 0.5615 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.3667, allocations: 54.67 kB / 0.5615 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.3667, allocations: 2.672 kB / 0.5615 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.3669, allocations: 115.8 kB / 0.5616 GB, free: 33.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.3669, allocations: 0 / 0.5616 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003258/0.3672, allocations: 194 kB / 0.5618 GB, free: 33.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3673, allocations: 84.44 kB / 0.5619 GB, free: 33.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3674, allocations: 154.2 kB / 0.562 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3674, allocations: 35.33 kB / 0.5621 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.3675, allocations: 100.1 kB / 0.5622 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.3675, allocations: 39.91 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.3676, allocations: 50.94 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.3677, allocations: 323.2 kB / 0.5626 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.3678, allocations: 42.31 kB / 0.5626 GB, free: 33.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.3679, allocations: 203.1 kB / 0.5628 GB, free: 32.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.3681, allocations: 98.84 kB / 0.5629 GB, free: 32.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3681, allocations: 1.438 kB / 0.5629 GB, free: 32.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002263/0.3683, allocations: 165 kB / 0.5631 GB, free: 32.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3683, allocations: 5.031 kB / 0.5631 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3684, allocations: 4.266 kB / 0.5631 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3684, allocations: 1.062 kB / 0.5631 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.3685, allocations: 8.844 kB / 0.5631 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3685, allocations: 1.719 kB / 0.5631 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.3688, allocations: 80.81 kB / 0.5632 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3688, allocations: 9.5 kB / 0.5632 GB, free: 32.71 MB / 446.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 (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 9.888e-05/0.3689, allocations: 139.9 kB / 0.5633 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.3689, allocations: 12.72 kB / 0.5633 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.369, allocations: 14.17 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.369, allocations: 3.219 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.369, allocations: 1.375 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.369, allocations: 1.328 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3691, allocations: 203.4 kB / 0.5635 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3691, allocations: 3.938 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3692, allocations: 6.906 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3692, allocations: 1.25 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3692, allocations: 7.266 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3692, allocations: 2.172 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3692, allocations: 0.625 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.3694, allocations: 186.1 kB / 0.5637 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.3695, allocations: 90.02 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3695, allocations: 3.453 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.3695, allocations: 3.297 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3696, allocations: 9.984 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3696, allocations: 7.578 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.3697, allocations: 113.8 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3697, allocations: 0.5312 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.37, allocations: 70.47 kB / 0.564 GB, free: 32.04 MB / 446.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 (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.0002291/0.3703, allocations: 164.7 kB / 0.5642 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3705, allocations: 166.2 kB / 0.5643 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3705, allocations: 1.562 kB / 0.5643 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.3706, allocations: 52.14 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.3708, allocations: 12.56 kB / 0.5644 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.3712, allocations: 227.5 kB / 0.5646 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3713, allocations: 0.7021 MB / 0.5653 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.3714, allocations: 11.41 kB / 0.5653 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.3714, allocations: 12.22 kB / 0.5653 GB, free: 30.94 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3714, allocations: 0 / 0.5653 GB, free: 30.94 MB / 446.1 MB Notification: Performance of Templates: time 0.006113/0.3775, allocations: 2.513 MB / 0.5678 GB, free: 30.78 MB / 446.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)