Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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.001311/0.001311, allocations: 106 kB / 18.84 MB, free: 3.023 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.001458/0.001458, allocations: 191.8 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 207.6 MB / 232.8 MB, free: 2.824 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.499/0.499, allocations: 55.67 MB / 340.7 MB, free: 11.5 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 76.92 kB / 482 MB, free: 36.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1531, allocations: 62.88 MB / 0.5321 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.00312/0.1562, allocations: 1.439 MB / 0.5335 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000873/0.1571, allocations: 395 kB / 0.5339 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.1571, allocations: 4 kB / 0.5339 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.1572, allocations: 19.8 kB / 0.5339 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1574, allocations: 11.94 kB / 0.534 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.1581, allocations: 251 kB / 0.5342 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.1585, allocations: 327.7 kB / 0.5345 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.512e-05/0.1586, allocations: 8.234 kB / 0.5345 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1588, allocations: 139.8 kB / 0.5346 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.1591, allocations: 127.5 kB / 0.5348 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.1591, allocations: 24 kB / 0.5348 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1593, allocations: 51.98 kB / 0.5348 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.1593, allocations: 23.92 kB / 0.5349 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1595, allocations: 111.7 kB / 0.535 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1599, allocations: 263.2 kB / 0.5352 GB, free: 7.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1599, allocations: 0 / 0.5352 GB, free: 7.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1599, allocations: 0 / 0.5352 GB, free: 7.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1599, allocations: 0 / 0.5352 GB, free: 7.898 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000728/0.1606, allocations: 0.5199 MB / 0.5357 GB, free: 7.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1607, allocations: 12.03 kB / 0.5357 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1608, allocations: 24.89 kB / 0.5358 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1612, allocations: 186.2 kB / 0.5359 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1612, allocations: 16.38 kB / 0.536 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.1613, allocations: 28.38 kB / 0.536 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.1616, allocations: 179.9 kB / 0.5362 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1616, allocations: 4.188 kB / 0.5362 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.1616, allocations: 15.92 kB / 0.5362 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1617, allocations: 0 / 0.5362 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1618, allocations: 91.89 kB / 0.5363 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1622, allocations: 303.1 kB / 0.5365 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1624, allocations: 154.5 kB / 0.5367 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1626, allocations: 111.4 kB / 0.5368 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1627, allocations: 8.125 kB / 0.5368 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.1631, allocations: 337.3 kB / 0.5371 GB, free: 5.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.1631, allocations: 0 / 0.5371 GB, free: 5.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008691/0.164, allocations: 489.2 kB / 0.5376 GB, free: 5.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.1642, allocations: 318.6 kB / 0.5379 GB, free: 4.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1644, allocations: 150.1 kB / 0.538 GB, free: 4.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.1644, allocations: 49.7 kB / 0.5381 GB, free: 4.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.1645, allocations: 108.6 kB / 0.5382 GB, free: 4.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.1646, allocations: 63.48 kB / 0.5383 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.1648, allocations: 89.66 kB / 0.5383 GB, free: 4.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1649, allocations: 330.8 kB / 0.5387 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.1653, allocations: 187.9 kB / 0.5388 GB, free: 3.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.1656, allocations: 231.3 kB / 0.5391 GB, free: 3.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.1662, allocations: 435.1 kB / 0.5395 GB, free: 3.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1662, allocations: 4 kB / 0.5395 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001258/0.1675, allocations: 0.8125 MB / 0.5403 GB, free: 2.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.1676, allocations: 158.9 kB / 0.5404 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1676, allocations: 11.92 kB / 0.5404 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1676, allocations: 0 / 0.5404 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1678, allocations: 7.984 kB / 0.5404 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1678, allocations: 4 kB / 0.5404 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.1683, allocations: 91.73 kB / 0.5405 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.1684, allocations: 31.98 kB / 0.5406 GB, free: 1.945 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition4,$whenCondition3,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0002579/0.1686, allocations: 239.8 kB / 0.5408 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.1687, allocations: 27.84 kB / 0.5408 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.1687, allocations: 16.7 kB / 0.5408 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1687, allocations: 3.938 kB / 0.5408 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1687, allocations: 0 / 0.5408 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1687, allocations: 4 kB / 0.5408 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.169, allocations: 220.5 kB / 0.5411 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.169, allocations: 8 kB / 0.5411 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.169, allocations: 4 kB / 0.5411 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.169, allocations: 3.938 kB / 0.5411 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.169, allocations: 23.97 kB / 0.5411 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.169, allocations: 0 / 0.5411 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1691, allocations: 3.938 kB / 0.5411 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.1697, allocations: 482.8 kB / 0.5416 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.1698, allocations: 19.84 kB / 0.5416 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.1698, allocations: 19.94 kB / 0.5416 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.1701, allocations: 35.95 kB / 0.5416 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.1702, allocations: 11.98 kB / 0.5416 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.1702, allocations: 15.98 kB / 0.5417 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.1703, allocations: 122.5 kB / 0.5418 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1703, allocations: 3.938 kB / 0.5418 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1706, allocations: 84 kB / 0.5419 GB, free: 0.5195 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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.0002177/0.1708, allocations: 139.2 kB / 0.542 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008845/0.1717, allocations: 0.6068 MB / 0.5426 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1717, allocations: 0 / 0.5426 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.1721, allocations: 270.7 kB / 0.5428 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.1723, allocations: 19.94 kB / 0.5429 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.1731, allocations: 405.7 kB / 0.5432 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1735, allocations: 0.7202 MB / 0.5439 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.1736, allocations: 9.031 kB / 0.544 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1736, allocations: 15.44 kB / 0.544 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1736, allocations: 0 / 0.544 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Templates: time 0.009039/0.1826, allocations: 4.312 MB / 0.5482 GB, free: 9.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9813831159844995] Failed to read output from testmodel.py, exit status != 0: 0.1905346605926752 0.206445294 0.043397591 Calling exit ...