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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01335/0.01336, allocations: 102.3 kB / 15.73 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002382/0.002382, allocations: 191.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2811/0.2811, allocations: 54.97 MB / 324.9 MB, free: 4.852 MB / 270.1 MB 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.001429/0.001429, allocations: 67.78 kB / 456.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1585, allocations: 59.6 MB / 0.5037 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.003535/0.1621, allocations: 1.427 MB / 0.5051 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.163, allocations: 398.9 kB / 0.5055 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.163, allocations: 3.938 kB / 0.5055 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.837e-05/0.1631, allocations: 7.938 kB / 0.5055 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1633, allocations: 19.86 kB / 0.5055 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.164, allocations: 236.5 kB / 0.5057 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.1644, allocations: 363.5 kB / 0.5061 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.1645, allocations: 4.234 kB / 0.5061 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1647, allocations: 135.8 kB / 0.5062 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1648, allocations: 115.6 kB / 0.5063 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.1649, allocations: 28 kB / 0.5063 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.165, allocations: 59.98 kB / 0.5064 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1651, allocations: 23.91 kB / 0.5064 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1652, allocations: 107.7 kB / 0.5065 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.1655, allocations: 259.2 kB / 0.5068 GB, free: 3.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1656, allocations: 0 / 0.5068 GB, free: 3.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1656, allocations: 3.938 kB / 0.5068 GB, free: 3.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1656, allocations: 0 / 0.5068 GB, free: 3.945 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.0008262/0.1664, allocations: 0.591 MB / 0.5073 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1665, allocations: 8.031 kB / 0.5073 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.1666, allocations: 24.84 kB / 0.5074 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1669, allocations: 240.1 kB / 0.5076 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.1669, allocations: 16.38 kB / 0.5076 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.167, allocations: 28.31 kB / 0.5076 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.1673, allocations: 181.5 kB / 0.5078 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1673, allocations: 4.188 kB / 0.5078 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.1673, allocations: 11.94 kB / 0.5078 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1673, allocations: 0 / 0.5078 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.1676, allocations: 91.89 kB / 0.5079 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.168, allocations: 335.9 kB / 0.5082 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1683, allocations: 246.6 kB / 0.5085 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.1685, allocations: 184.2 kB / 0.5086 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1685, allocations: 3.984 kB / 0.5087 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/0.169, allocations: 337.4 kB / 0.509 GB, free: 1.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.263e-06/0.169, allocations: 0 / 0.509 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008765/0.1699, allocations: 483 kB / 0.5094 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003369/0.1703, allocations: 314.7 kB / 0.5097 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1705, allocations: 154.1 kB / 0.5099 GB, free: 380 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.1705, allocations: 45.64 kB / 0.5099 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1706, allocations: 108.6 kB / 0.51 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.1708, allocations: 63.2 kB / 0.5101 GB, free: 152 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1709, allocations: 85.66 kB / 0.5102 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1711, allocations: 326.8 kB / 0.5105 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.1714, allocations: 203.6 kB / 0.5107 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1717, allocations: 230.4 kB / 0.5109 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.1723, allocations: 437 kB / 0.5113 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.1723, allocations: 4 kB / 0.5113 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001125/0.1734, allocations: 0.8123 MB / 0.5121 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.1736, allocations: 158.8 kB / 0.5123 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1736, allocations: 0 / 0.5123 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1737, allocations: 8 kB / 0.5123 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1738, allocations: 7.938 kB / 0.5123 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1738, allocations: 7.984 kB / 0.5123 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.1743, allocations: 91.73 kB / 0.5124 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.1744, allocations: 27.97 kB / 0.5124 GB, free: 13.66 MB / 414.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.0002775/0.1747, allocations: 235.8 kB / 0.5126 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.1748, allocations: 27.75 kB / 0.5126 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.1748, allocations: 8.719 kB / 0.5127 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1749, allocations: 7.984 kB / 0.5127 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1749, allocations: 0 / 0.5127 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1749, allocations: 3.938 kB / 0.5127 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1751, allocations: 261.3 kB / 0.5129 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1751, allocations: 4 kB / 0.5129 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.1752, allocations: 7.984 kB / 0.5129 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1752, allocations: 7.938 kB / 0.5129 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.1752, allocations: 12 kB / 0.5129 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1752, allocations: 4 kB / 0.513 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1752, allocations: 3.984 kB / 0.513 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.1759, allocations: 474.6 kB / 0.5134 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1759, allocations: 93.05 kB / 0.5135 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.176, allocations: 19.94 kB / 0.5135 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.1763, allocations: 31.95 kB / 0.5135 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.1763, allocations: 11.98 kB / 0.5136 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.1764, allocations: 16 kB / 0.5136 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.1765, allocations: 115.2 kB / 0.5137 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1765, allocations: 0 / 0.5137 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.1768, allocations: 87.98 kB / 0.5138 GB, free: 12.12 MB / 414.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.0002354/0.1771, allocations: 135.2 kB / 0.5139 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1782, allocations: 0.884 MB / 0.5148 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1782, allocations: 0 / 0.5148 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.1788, allocations: 0.5692 MB / 0.5153 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1791, allocations: 23.22 kB / 0.5153 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.1799, allocations: 409.8 kB / 0.5157 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1803, allocations: 0.7163 MB / 0.5164 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.242e-05/0.1803, allocations: 4.672 kB / 0.5164 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.1804, allocations: 15.44 kB / 0.5164 GB, free: 9.23 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1804, allocations: 0 / 0.5164 GB, free: 9.23 MB / 414.1 MB Notification: Performance of Templates: time 0.00949/0.1899, allocations: 4.156 MB / 0.5205 GB, free: 5.129 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.makefile (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)