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.001361/0.001361, allocations: 73.88 kB / 20.66 MB, free: 3.836 MB / 18.57 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.001408/0.001408, allocations: 173 kB / 24.06 MB, free: 444 kB / 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.9228/0.9228, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001682/0.001682, allocations: 241.9 kB / 261.3 MB, free: 12.66 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.6983/0.6983, allocations: 138.4 MB / 456.3 MB, free: 1.473 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 1.262e-06/1.262e-06, allocations: 0 / 0.5563 GB, free: 340 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.921e-05, allocations: 2.312 kB / 0.5563 GB, free: 336 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001798/0.001817, allocations: 1.455 MB / 0.5578 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.002389, allocations: 490.1 kB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.002422, allocations: 0 / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.798e-05/0.00249, allocations: 15.86 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.002539, allocations: 0 / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.003087, allocations: 243.2 kB / 0.5585 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.003243, allocations: 151.7 kB / 0.5586 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.003275, allocations: 0 / 0.5586 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.003346, allocations: 75.94 kB / 0.5587 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.003406, allocations: 47.88 kB / 0.5587 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003426, allocations: 8 kB / 0.5587 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.003643, allocations: 179.7 kB / 0.5589 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.00369, allocations: 39.89 kB / 0.5589 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.003733, allocations: 35.92 kB / 0.559 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.003967, allocations: 247.3 kB / 0.5592 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003969, allocations: 0 / 0.5592 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00397, allocations: 7.938 kB / 0.5592 GB, free: 13.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003974, allocations: 0 / 0.5592 GB, free: 13.35 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.0003605/0.004334, allocations: 487.8 kB / 0.5597 GB, free: 12.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.004363, allocations: 8.75 kB / 0.5597 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.0044, allocations: 16.84 kB / 0.5597 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.004528, allocations: 152.4 kB / 0.5599 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004537, allocations: 4.375 kB / 0.5599 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.004555, allocations: 16.38 kB / 0.5599 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.004639, allocations: 65.61 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.004645, allocations: 4.125 kB / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.004651, allocations: 384 / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.004655, allocations: 384 / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.004684, allocations: 23.92 kB / 0.56 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.004804, allocations: 140.9 kB / 0.5601 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.004866, allocations: 78.16 kB / 0.5602 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.004899, allocations: 31.45 kB / 0.5602 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.004905, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.65e-05/0.005001, allocations: 104.4 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 7.51e-07/0.005002, allocations: 0 / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001786/0.005181, allocations: 117.5 kB / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.005221, allocations: 93.03 kB / 0.5605 GB, free: 11.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.005305, allocations: 201.9 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.005326, allocations: 37.69 kB / 0.5607 GB, free: 11.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.005378, allocations: 147.2 kB / 0.5609 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.005414, allocations: 39.67 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.005464, allocations: 55.34 kB / 0.561 GB, free: 11.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.005572, allocations: 0.5 MB / 0.5615 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.005593, allocations: 15.98 kB / 0.5615 GB, free: 10.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.005796, allocations: 0.5981 MB / 0.5621 GB, free: 10.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.00586, allocations: 67.22 kB / 0.5621 GB, free: 9.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005862, allocations: 0 / 0.5621 GB, free: 9.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001108/0.005973, allocations: 109.5 kB / 0.5622 GB, free: 9.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.005984, allocations: 15.98 kB / 0.5622 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.005998, allocations: 0 / 0.5622 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.006006, allocations: 4 kB / 0.5622 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.006058, allocations: 12 kB / 0.5623 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006062, allocations: 7.938 kB / 0.5623 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.006156, allocations: 39.86 kB / 0.5623 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.006163, allocations: 4 kB / 0.5623 GB, free: 9.762 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 7.741e-05/0.006241, allocations: 184.5 kB / 0.5625 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.006255, allocations: 15.94 kB / 0.5625 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.006273, allocations: 8.781 kB / 0.5625 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006275, allocations: 4 kB / 0.5625 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.006281, allocations: 3.938 kB / 0.5625 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006284, allocations: 0 / 0.5625 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.444e-05/0.006368, allocations: 121.1 kB / 0.5626 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00637, allocations: 4 kB / 0.5626 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.006385, allocations: 7.984 kB / 0.5626 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006387, allocations: 0 / 0.5626 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.006395, allocations: 12 kB / 0.5627 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006396, allocations: 0 / 0.5627 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006397, allocations: 0.625 kB / 0.5627 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.006517, allocations: 147.9 kB / 0.5628 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.006528, allocations: 11.91 kB / 0.5628 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.006541, allocations: 4 kB / 0.5628 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.006561, allocations: 3.984 kB / 0.5628 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.006587, allocations: 8 kB / 0.5628 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.006593, allocations: 7.984 kB / 0.5628 GB, free: 9.168 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.006636, allocations: 149.5 kB / 0.563 GB, free: 9.023 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006636, allocations: 0 / 0.563 GB, free: 9.023 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.006835, allocations: 79.8 kB / 0.563 GB, free: 8.945 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.0001604/0.006996, allocations: 175 kB / 0.5632 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.007123, allocations: 127.1 kB / 0.5633 GB, free: 8.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007125, allocations: 0 / 0.5633 GB, free: 8.621 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.007154, allocations: 31.61 kB / 0.5634 GB, free: 8.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.007263, allocations: 8 kB / 0.5634 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.007506, allocations: 210.5 kB / 0.5636 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.00761, allocations: 71.33 kB / 0.5636 GB, free: 8.246 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.007637, allocations: 13 kB / 0.5637 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.007712, allocations: 98.17 kB / 0.5637 GB, free: 8.133 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007713, allocations: 3.938 kB / 0.5638 GB, free: 8.129 MB / 490.7 MB Notification: Performance of Templates: time 0.004031/0.01174, allocations: 2.941 MB / 0.5666 GB, free: 5.238 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.3989580422639847]