Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.4 MB / 303.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.001461, allocations: 191.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001072, allocations: 94.84 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005462/0.0005464, allocations: 15.17 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.356, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002085/0.3582, allocations: 1.124 MB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3593, allocations: 463.7 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.3594, allocations: 4 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.3595, allocations: 11.92 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.3596, allocations: 3.938 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.3605, allocations: 193.6 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3608, allocations: 123.8 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.148e-05/0.3609, allocations: 7.984 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.3609, allocations: 47.91 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3611, allocations: 51.83 kB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.3611, allocations: 4 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.3614, allocations: 151.8 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.3615, allocations: 31.91 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3616, allocations: 81.45 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.3619, allocations: 160 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3619, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.362, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.362, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 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.000552/0.3625, allocations: 423.2 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3626, allocations: 8.031 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.3627, allocations: 16.75 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3629, allocations: 213.8 kB / 0.9831 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.3629, allocations: 8.375 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.363, allocations: 16.38 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3631, allocations: 79.95 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3632, allocations: 192 / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3632, allocations: 7.938 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3632, allocations: 0 / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.3633, allocations: 39.91 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.3635, allocations: 234.4 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3637, allocations: 77.23 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.3638, allocations: 61.81 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3638, allocations: 0 / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.364, allocations: 114.3 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.364, allocations: 0 / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.00034/0.3643, allocations: 185.8 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3644, allocations: 97.08 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3645, allocations: 143.9 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3646, allocations: 37.69 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.3646, allocations: 104.5 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.3647, allocations: 39.45 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.3647, allocations: 4 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.3648, allocations: 322.8 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.3649, allocations: 39.98 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.365, allocations: 199.3 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3651, allocations: 97.64 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3652, allocations: 0 / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002106/0.3654, allocations: 165.4 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3654, allocations: 4 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.3654, allocations: 4.156 kB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3655, allocations: 0 / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.3656, allocations: 11.94 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3656, allocations: 3.984 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.3659, allocations: 95.73 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3659, allocations: 8 kB / 0.9852 GB, free: 21.79 MB / 0.6198 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 ($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 0.0001126/0.366, allocations: 125.8 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.366, allocations: 19.83 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.3661, allocations: 20.7 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3661, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.3661, allocations: 4 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3661, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3662, allocations: 189.6 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3663, allocations: 7.938 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.3663, allocations: 8 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3663, allocations: 0 / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3663, allocations: 3.938 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3663, allocations: 7.938 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3663, allocations: 0 / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3665, allocations: 173.8 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.3666, allocations: 100.8 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3666, allocations: 4 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.3666, allocations: 8 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3667, allocations: 7.984 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3667, allocations: 4 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.3668, allocations: 116.8 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.3668, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000316/0.3671, allocations: 68 kB / 0.9861 GB, free: 20.84 MB / 0.6198 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 (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.0002677/0.3674, allocations: 171.1 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.3677, allocations: 173.6 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3677, allocations: 0 / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.3677, allocations: 43.98 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.3679, allocations: 10.75 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3684, allocations: 246.5 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.3686, allocations: 0.7043 MB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.3686, allocations: 12.66 kB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.3686, allocations: 11.44 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.3686, allocations: 4 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.00527/0.3739, allocations: 2.358 MB / 0.9897 GB, free: 17.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)