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.001325/0.001325, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 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.001424/0.001424, allocations: 216.8 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.002764/0.002764, allocations: 291.1 kB / 312.7 MB, free: 2.605 MB / 238.1 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 1.23/1.23, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003088/0.003088, allocations: 104.5 kB / 0.74 GB, free: 27.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1491, allocations: 95.38 MB / 0.8331 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002602/0.1517, allocations: 1.416 MB / 0.8345 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.1526, allocations: 476 kB / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.1527, allocations: 0 / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.1527, allocations: 3.938 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.1528, allocations: 11.92 kB / 0.835 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.1535, allocations: 251.6 kB / 0.8352 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1537, allocations: 147.7 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1538, allocations: 7.891 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.1538, allocations: 63.89 kB / 0.8354 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.1539, allocations: 39.83 kB / 0.8354 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.154, allocations: 12 kB / 0.8355 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.1543, allocations: 183.7 kB / 0.8356 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.1543, allocations: 35.91 kB / 0.8357 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.1544, allocations: 55.77 kB / 0.8357 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.1548, allocations: 235.3 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1548, allocations: 0 / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.146e-06/0.1548, allocations: 4 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1548, allocations: 0 / 0.8359 GB, free: 4.973 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.0005442/0.1553, allocations: 373.5 kB / 0.8363 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1553, allocations: 9.344 kB / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.1554, allocations: 12.89 kB / 0.8363 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1556, allocations: 148.8 kB / 0.8365 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1556, allocations: 16.3 kB / 0.8365 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1557, allocations: 16.38 kB / 0.8365 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1558, allocations: 79.95 kB / 0.8366 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1558, allocations: 192 / 0.8366 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1558, allocations: 3.938 kB / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1558, allocations: 3.938 kB / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1559, allocations: 35.98 kB / 0.8366 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.1561, allocations: 166.1 kB / 0.8368 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1563, allocations: 69.2 kB / 0.8368 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.1563, allocations: 49.84 kB / 0.8369 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1563, allocations: 8 kB / 0.8369 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1565, allocations: 113 kB / 0.837 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1565, allocations: 0 / 0.837 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003675/0.1569, allocations: 189.5 kB / 0.8372 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.157, allocations: 81.11 kB / 0.8373 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1571, allocations: 153.8 kB / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1572, allocations: 33.7 kB / 0.8374 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.1572, allocations: 100.5 kB / 0.8375 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.1573, allocations: 43.72 kB / 0.8376 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.1574, allocations: 53.64 kB / 0.8376 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1575, allocations: 326.8 kB / 0.8379 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.1576, allocations: 39.98 kB / 0.838 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.1581, allocations: 0.6064 MB / 0.8386 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1582, allocations: 93.64 kB / 0.8387 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1582, allocations: 0 / 0.8387 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000258/0.1585, allocations: 165.4 kB / 0.8388 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1585, allocations: 7.938 kB / 0.8388 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.1585, allocations: 7.938 kB / 0.8388 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1585, allocations: 0 / 0.8388 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.1586, allocations: 15.98 kB / 0.8388 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1586, allocations: 0 / 0.8388 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.1589, allocations: 75.8 kB / 0.8389 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1589, allocations: 8 kB / 0.8389 GB, free: 1.551 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.000131/0.159, allocations: 142.4 kB / 0.8391 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.159, allocations: 15.89 kB / 0.8391 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.1591, allocations: 8.719 kB / 0.8391 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1591, allocations: 4 kB / 0.8391 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1591, allocations: 0 / 0.8391 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1591, allocations: 3.984 kB / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1592, allocations: 133.2 kB / 0.8392 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1592, allocations: 0 / 0.8392 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.1593, allocations: 15.98 kB / 0.8392 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1593, allocations: 0 / 0.8392 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1593, allocations: 3.938 kB / 0.8392 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1593, allocations: 8 kB / 0.8392 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1593, allocations: 3.938 kB / 0.8392 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1595, allocations: 173.9 kB / 0.8394 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.1595, allocations: 11.91 kB / 0.8394 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1596, allocations: 7.938 kB / 0.8394 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.1596, allocations: 11.92 kB / 0.8394 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1596, allocations: 4 kB / 0.8394 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1597, allocations: 7.984 kB / 0.8395 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.1597, allocations: 117.8 kB / 0.8396 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 0.8396 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003012/0.16, allocations: 75.81 kB / 0.8396 GB, free: 0.75 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.0002328/0.1603, allocations: 163 kB / 0.8398 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.1605, allocations: 151.4 kB / 0.8399 GB, free: 432 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1605, allocations: 3.938 kB / 0.8399 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.1606, allocations: 35.98 kB / 0.84 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1608, allocations: 8 kB / 0.84 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.1612, allocations: 227.4 kB / 0.8402 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.1613, allocations: 96.92 kB / 0.8403 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1614, allocations: 12.89 kB / 0.8403 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1614, allocations: 19.38 kB / 0.8403 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1614, allocations: 0 / 0.8403 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.006116/0.1675, allocations: 2.763 MB / 0.843 GB, free: 13.27 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.02595061250031] Failed to read output from testmodel.py, exit status != 0: 0.17456534877419472 0.18978118200000002 0.031928587 Calling exit ...