Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9015/0.9015, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005061/0.005061, allocations: 237.8 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.704/0.704, allocations: 138.4 MB / 455.2 MB, free: 1.559 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5551 GB, free: 0.582 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.519e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.003056/0.003091, allocations: 1.454 MB / 0.5565 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.004107, allocations: 0.4903 MB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.004149, allocations: 0 / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.867e-05/0.004238, allocations: 7.938 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.004312, allocations: 15.86 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/0.005261, allocations: 239.3 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.005524, allocations: 147.7 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.005567, allocations: 11.98 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.005698, allocations: 71.89 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.005795, allocations: 39.94 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.005831, allocations: 8 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.006184, allocations: 187.6 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.006253, allocations: 35.97 kB / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.006353, allocations: 35.91 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.006786, allocations: 251.3 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.00679, allocations: 4 kB / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006791, allocations: 4 kB / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.006796, allocations: 0 / 0.558 GB, free: 13.58 MB / 490.7 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.0005877/0.007384, allocations: 471.9 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.007432, allocations: 8.75 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.007508, allocations: 20.84 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.007769, allocations: 156.4 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.007788, allocations: 8.375 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.007819, allocations: 8.375 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.007975, allocations: 69.61 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.007987, allocations: 192 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.008, allocations: 12.31 kB / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.008008, allocations: 384 / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.008075, allocations: 31.83 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.008299, allocations: 168.4 kB / 0.5589 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.008402, allocations: 70.11 kB / 0.559 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.008465, allocations: 35.58 kB / 0.559 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.008475, allocations: 4 kB / 0.559 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.008645, allocations: 100.3 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.008647, allocations: 0 / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003274/0.008974, allocations: 137.5 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.009027, allocations: 81.11 kB / 0.5593 GB, free: 12.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.009174, allocations: 212.2 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.009205, allocations: 33.7 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.00928, allocations: 143.2 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.009334, allocations: 43.69 kB / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.009417, allocations: 51.36 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.009644, allocations: 0.4923 MB / 0.5603 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.009708, allocations: 27.92 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.01004, allocations: 0.5913 MB / 0.5609 GB, free: 10.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01017, allocations: 87.16 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01018, allocations: 4 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002206/0.0104, allocations: 121.5 kB / 0.5611 GB, free: 9.996 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01041, allocations: 4 kB / 0.5611 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.01044, allocations: 4 kB / 0.5611 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01045, allocations: 3.938 kB / 0.5611 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.01055, allocations: 19.94 kB / 0.5611 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.01056, allocations: 3.984 kB / 0.5611 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.01075, allocations: 51.91 kB / 0.5611 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01077, allocations: 4 kB / 0.5611 GB, free: 9.906 MB / 490.7 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 0.0001094/0.01087, allocations: 172.5 kB / 0.5613 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01091, allocations: 11.95 kB / 0.5613 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.01094, allocations: 12.77 kB / 0.5613 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01094, allocations: 7.938 kB / 0.5613 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01095, allocations: 0 / 0.5613 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01095, allocations: 3.938 kB / 0.5613 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01108, allocations: 148.5 kB / 0.5615 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01108, allocations: 4 kB / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.01111, allocations: 8 kB / 0.5615 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.01112, allocations: 4 kB / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01113, allocations: 0 / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01113, allocations: 0 / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01114, allocations: 3.938 kB / 0.5615 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.01134, allocations: 148.1 kB / 0.5616 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.01136, allocations: 15.98 kB / 0.5617 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01138, allocations: 15.86 kB / 0.5617 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.01142, allocations: 0 / 0.5617 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.01147, allocations: 19.92 kB / 0.5617 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01148, allocations: 4 kB / 0.5617 GB, free: 9.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.61e-05/0.01155, allocations: 141.4 kB / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01155, allocations: 0 / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.01191, allocations: 83.8 kB / 0.5619 GB, free: 9.051 MB / 490.7 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.0002699/0.01218, allocations: 171.1 kB / 0.5621 GB, free: 8.871 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.01242, allocations: 134.5 kB / 0.5622 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01242, allocations: 0 / 0.5622 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.01248, allocations: 39.23 kB / 0.5622 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01267, allocations: 15.94 kB / 0.5623 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.01309, allocations: 214.5 kB / 0.5625 GB, free: 8.426 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.01314, allocations: 67.34 kB / 0.5625 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.201e-05/0.01318, allocations: 12.72 kB / 0.5625 GB, free: 8.324 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.01321, allocations: 12.5 kB / 0.5626 GB, free: 8.312 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01321, allocations: 0 / 0.5626 GB, free: 8.312 MB / 490.7 MB Notification: Performance of Templates: time 0.004774/0.01798, allocations: 2.72 MB / 0.5652 GB, free: 5.641 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5987872993573546]