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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 105.7 kB / 19.58 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 193 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 251.5 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002377/0.002377, allocations: 282.6 kB / 307 MB, free: 8.383 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 180.8 MB / 0.5304 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002641/0.002641, allocations: 101.9 kB / 0.731 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1362, allocations: 94.19 MB / 0.823 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002457/0.1387, allocations: 1.439 MB / 0.8244 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.1396, allocations: 0.4959 MB / 0.8249 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.1396, allocations: 0 / 0.8249 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.341e-05/0.1397, allocations: 7.938 kB / 0.8249 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.1397, allocations: 15.86 kB / 0.8249 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.1404, allocations: 242.5 kB / 0.8252 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.1406, allocations: 147.8 kB / 0.8253 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1407, allocations: 4 kB / 0.8253 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.1407, allocations: 55.73 kB / 0.8254 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.1408, allocations: 43.89 kB / 0.8254 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1409, allocations: 19.94 kB / 0.8254 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.1411, allocations: 191.8 kB / 0.8256 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1412, allocations: 39.89 kB / 0.8256 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.1413, allocations: 51.73 kB / 0.8257 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1416, allocations: 243.2 kB / 0.8259 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1416, allocations: 0 / 0.8259 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1416, allocations: 0 / 0.8259 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1416, allocations: 0 / 0.8259 GB, free: 15.11 MB / 0.5762 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.0005206/0.1421, allocations: 377.5 kB / 0.8263 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1422, allocations: 12.03 kB / 0.8263 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.1422, allocations: 12.89 kB / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1424, allocations: 148.4 kB / 0.8265 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1424, allocations: 8.375 kB / 0.8265 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1424, allocations: 12.38 kB / 0.8265 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1426, allocations: 87.88 kB / 0.8266 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1426, allocations: 192 / 0.8266 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1426, allocations: 3.938 kB / 0.8266 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1426, allocations: 0 / 0.8266 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.1427, allocations: 39.98 kB / 0.8266 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.1429, allocations: 201.6 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1431, allocations: 77.14 kB / 0.8269 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.1431, allocations: 53.84 kB / 0.8269 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1431, allocations: 0 / 0.8269 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1434, allocations: 113 kB / 0.827 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1434, allocations: 0 / 0.827 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003326/0.1437, allocations: 193.9 kB / 0.8272 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1437, allocations: 93.03 kB / 0.8273 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1439, allocations: 143.7 kB / 0.8274 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1439, allocations: 45.7 kB / 0.8275 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.144, allocations: 100.5 kB / 0.8276 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.144, allocations: 39.69 kB / 0.8276 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.1441, allocations: 49.64 kB / 0.8277 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1442, allocations: 326.8 kB / 0.828 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.1443, allocations: 39.98 kB / 0.828 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1445, allocations: 200.2 kB / 0.8282 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1446, allocations: 97.58 kB / 0.8283 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1446, allocations: 0 / 0.8283 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002275/0.1449, allocations: 173.4 kB / 0.8285 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1449, allocations: 8 kB / 0.8285 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.1449, allocations: 4 kB / 0.8285 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1449, allocations: 0 / 0.8285 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.145, allocations: 8 kB / 0.8285 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.145, allocations: 3.938 kB / 0.8285 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1452, allocations: 75.84 kB / 0.8286 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1452, allocations: 4 kB / 0.8286 GB, free: 12.13 MB / 0.5762 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.0001166/0.1454, allocations: 143.2 kB / 0.8287 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1454, allocations: 19.88 kB / 0.8287 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.1454, allocations: 12.72 kB / 0.8287 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1454, allocations: 0 / 0.8287 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1454, allocations: 4 kB / 0.8287 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1454, allocations: 4 kB / 0.8287 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1456, allocations: 168.6 kB / 0.8289 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1456, allocations: 3.938 kB / 0.8289 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1456, allocations: 11.94 kB / 0.8289 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1456, allocations: 0 / 0.8289 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1456, allocations: 0 / 0.8289 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1456, allocations: 4 kB / 0.8289 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1456, allocations: 0 / 0.8289 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1459, allocations: 184.3 kB / 0.8291 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.1459, allocations: 15.84 kB / 0.8291 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1459, allocations: 4 kB / 0.8291 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.1459, allocations: 4 kB / 0.8291 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.146, allocations: 7.984 kB / 0.8291 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.146, allocations: 0 / 0.8291 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.1461, allocations: 115.2 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1461, allocations: 0 / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002895/0.1464, allocations: 83.8 kB / 0.8293 GB, free: 11.28 MB / 0.5762 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.0002169/0.1466, allocations: 161.3 kB / 0.8295 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1468, allocations: 163.3 kB / 0.8296 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1468, allocations: 0 / 0.8296 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.1469, allocations: 39.92 kB / 0.8297 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.1471, allocations: 17.98 kB / 0.8297 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1474, allocations: 219.5 kB / 0.8299 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1477, allocations: 0.7118 MB / 0.8306 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.1478, allocations: 8.672 kB / 0.8306 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.1478, allocations: 15.44 kB / 0.8306 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1478, allocations: 0 / 0.8306 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.005392/0.1532, allocations: 2.577 MB / 0.8331 GB, free: 7.336 MB / 0.5762 GB " [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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.442299664995517] Failed to read output from testmodel.py, exit status != 0: 0.15999318299873266 0.173604751 0.029255042000000002 Calling exit ...