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.001234/0.001234, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.001295/0.001296, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.723/1.723, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.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.2883/0.2883, allocations: 54.96 MB / 331.6 MB, free: 2.758 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.002511/0.002511, allocations: 76.67 kB / 464.9 MB, free: 388 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1743, allocations: 59.59 MB / 0.5122 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.003573/0.178, allocations: 1.439 MB / 0.5136 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.1789, allocations: 390.9 kB / 0.514 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.179, allocations: 4 kB / 0.514 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.455e-05/0.1791, allocations: 7.875 kB / 0.514 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1793, allocations: 23.84 kB / 0.514 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.18, allocations: 243.3 kB / 0.5142 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.1805, allocations: 355.6 kB / 0.5146 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.1806, allocations: 4.234 kB / 0.5146 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1808, allocations: 143.7 kB / 0.5147 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.181, allocations: 115.7 kB / 0.5148 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.1811, allocations: 24 kB / 0.5148 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1812, allocations: 55.98 kB / 0.5149 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.1813, allocations: 15.94 kB / 0.5149 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1815, allocations: 119.6 kB / 0.515 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.1819, allocations: 255.2 kB / 0.5153 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.182, allocations: 0 / 0.5153 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.182, allocations: 7.938 kB / 0.5153 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.182, allocations: 0 / 0.5153 GB, free: 1.656 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.0009162/0.1829, allocations: 0.5874 MB / 0.5159 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.183, allocations: 8.031 kB / 0.5159 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1831, allocations: 28.89 kB / 0.5159 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.1836, allocations: 252 kB / 0.5161 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.1836, allocations: 16.38 kB / 0.5161 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.1837, allocations: 24.38 kB / 0.5162 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.1841, allocations: 181.5 kB / 0.5163 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1842, allocations: 192 / 0.5163 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1842, allocations: 7.938 kB / 0.5163 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1842, allocations: 4 kB / 0.5163 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.1844, allocations: 95.89 kB / 0.5164 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.1849, allocations: 332 kB / 0.5168 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.1853, allocations: 243.5 kB / 0.517 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.1856, allocations: 195.5 kB / 0.5172 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1856, allocations: 0 / 0.5172 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.1862, allocations: 341.2 kB / 0.5175 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.1862, allocations: 0 / 0.5175 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009535/0.1872, allocations: 476.1 kB / 0.518 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/0.1875, allocations: 318.6 kB / 0.5183 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1877, allocations: 152.7 kB / 0.5184 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.1877, allocations: 49.7 kB / 0.5185 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1878, allocations: 96.89 kB / 0.5185 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.188, allocations: 79.45 kB / 0.5186 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1882, allocations: 85.67 kB / 0.5187 GB, free: 13.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1884, allocations: 330.8 kB / 0.519 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1887, allocations: 191.6 kB / 0.5192 GB, free: 13.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.1891, allocations: 227.3 kB / 0.5194 GB, free: 13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.1898, allocations: 436.3 kB / 0.5198 GB, free: 12.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1898, allocations: 0 / 0.5198 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001365/0.1912, allocations: 0.8241 MB / 0.5206 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.1914, allocations: 150.7 kB / 0.5208 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1914, allocations: 4 kB / 0.5208 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.1915, allocations: 4.062 kB / 0.5208 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1916, allocations: 4 kB / 0.5208 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.1916, allocations: 7.938 kB / 0.5208 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.1922, allocations: 95.72 kB / 0.5209 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.1923, allocations: 31.97 kB / 0.5209 GB, free: 11.36 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.0003094/0.1926, allocations: 240.5 kB / 0.5212 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1927, allocations: 27.84 kB / 0.5212 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1927, allocations: 12.72 kB / 0.5212 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1927, allocations: 0 / 0.5212 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1927, allocations: 0 / 0.5212 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.1928, allocations: 7.984 kB / 0.5212 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1931, allocations: 245.5 kB / 0.5214 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1931, allocations: 4 kB / 0.5214 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1932, allocations: 7.984 kB / 0.5214 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1932, allocations: 7.875 kB / 0.5215 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.1932, allocations: 16 kB / 0.5215 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1932, allocations: 4 kB / 0.5215 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1932, allocations: 0 / 0.5215 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.194, allocations: 474.7 kB / 0.5219 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.1941, allocations: 97.14 kB / 0.522 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.1942, allocations: 23.88 kB / 0.522 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1944, allocations: 35.89 kB / 0.5221 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.1945, allocations: 19.91 kB / 0.5221 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.1946, allocations: 20 kB / 0.5221 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1947, allocations: 111.2 kB / 0.5222 GB, free: 9.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1947, allocations: 0 / 0.5222 GB, free: 9.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000345/0.1951, allocations: 88 kB / 0.5223 GB, free: 9.816 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.0002232/0.1953, allocations: 135.1 kB / 0.5224 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1965, allocations: 0.8685 MB / 0.5233 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1965, allocations: 0 / 0.5233 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.1972, allocations: 0.569 MB / 0.5238 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1974, allocations: 24.31 kB / 0.5239 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.1982, allocations: 417.5 kB / 0.5243 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1986, allocations: 0.716 MB / 0.525 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.545e-05/0.1987, allocations: 4.672 kB / 0.525 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.1987, allocations: 15.44 kB / 0.525 GB, free: 6.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1987, allocations: 0 / 0.525 GB, free: 6.93 MB / 414.1 MB Notification: Performance of Templates: time 0.01024/0.2089, allocations: 4.151 MB / 0.529 GB, free: 2.832 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.934812938794494]