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.007691/0.007691, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001333/0.001334, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.726/1.726, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2827/0.2827, allocations: 54.97 MB / 324.9 MB, free: 4.84 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.002923/0.002924, allocations: 80.3 kB / 456.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1692, allocations: 59.6 MB / 0.5037 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.002914/0.1721, allocations: 1.423 MB / 0.5051 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.173, allocations: 398.8 kB / 0.5055 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.1731, allocations: 4 kB / 0.5055 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.294e-05/0.1732, allocations: 3.938 kB / 0.5055 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1734, allocations: 19.84 kB / 0.5055 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.1742, allocations: 250.3 kB / 0.5057 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1746, allocations: 351.6 kB / 0.5061 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.1747, allocations: 16.2 kB / 0.5061 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.1749, allocations: 131.8 kB / 0.5062 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.1752, allocations: 119.7 kB / 0.5063 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.1752, allocations: 28 kB / 0.5063 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1754, allocations: 51.98 kB / 0.5064 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.1755, allocations: 19.92 kB / 0.5064 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.1756, allocations: 115.7 kB / 0.5065 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.176, allocations: 259.2 kB / 0.5068 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.176, allocations: 4 kB / 0.5068 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.176, allocations: 3.938 kB / 0.5068 GB, free: 3.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.176, allocations: 0 / 0.5068 GB, free: 3.934 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.0006864/0.1767, allocations: 0.5876 MB / 0.5073 GB, free: 3.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1768, allocations: 12.03 kB / 0.5074 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1769, allocations: 28.84 kB / 0.5074 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1772, allocations: 236 kB / 0.5076 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.1772, allocations: 16.38 kB / 0.5076 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.1773, allocations: 24.38 kB / 0.5076 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.1776, allocations: 181.5 kB / 0.5078 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1776, allocations: 192 / 0.5078 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.1777, allocations: 11.94 kB / 0.5078 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1777, allocations: 4 kB / 0.5078 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1779, allocations: 91.89 kB / 0.5079 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1782, allocations: 331.8 kB / 0.5082 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.1785, allocations: 246.6 kB / 0.5085 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.1787, allocations: 184.2 kB / 0.5086 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1788, allocations: 7.938 kB / 0.5087 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.1792, allocations: 337.4 kB / 0.509 GB, free: 1.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1792, allocations: 0 / 0.509 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007516/0.18, allocations: 483.4 kB / 0.5094 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.1802, allocations: 314.7 kB / 0.5097 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1803, allocations: 146.1 kB / 0.5099 GB, free: 376 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.1804, allocations: 49.7 kB / 0.5099 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.1804, allocations: 100.6 kB / 0.51 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.1805, allocations: 71.17 kB / 0.5101 GB, free: 144 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.1807, allocations: 89.67 kB / 0.5102 GB, free: 48 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1808, allocations: 326.8 kB / 0.5105 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1811, allocations: 191.6 kB / 0.5107 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1814, allocations: 242.3 kB / 0.5109 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.1819, allocations: 436.2 kB / 0.5113 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1819, allocations: 0 / 0.5113 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001104/0.183, allocations: 0.8092 MB / 0.5121 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1831, allocations: 158.8 kB / 0.5123 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1832, allocations: 8 kB / 0.5123 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1832, allocations: 0 / 0.5123 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1833, allocations: 11.94 kB / 0.5123 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1833, allocations: 0 / 0.5123 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.1838, allocations: 95.72 kB / 0.5124 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.1839, allocations: 24 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.0002234/0.1841, allocations: 247.7 kB / 0.5126 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.1842, allocations: 27.75 kB / 0.5127 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.1842, allocations: 12.72 kB / 0.5127 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1842, allocations: 0 / 0.5127 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1842, allocations: 0 / 0.5127 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1843, allocations: 8 kB / 0.5127 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1845, allocations: 253.3 kB / 0.5129 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1845, allocations: 4 kB / 0.5129 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.1845, allocations: 8 kB / 0.5129 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1845, allocations: 7.922 kB / 0.5129 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.1846, allocations: 16 kB / 0.5129 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1846, allocations: 0 / 0.5129 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1846, allocations: 0 / 0.5129 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.1851, allocations: 486.6 kB / 0.5134 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1852, allocations: 85.02 kB / 0.5135 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.1853, allocations: 19.94 kB / 0.5135 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.1855, allocations: 31.95 kB / 0.5135 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.1856, allocations: 16.17 kB / 0.5136 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1856, allocations: 12 kB / 0.5136 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.1857, allocations: 115.2 kB / 0.5137 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1857, allocations: 4 kB / 0.5137 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.186, allocations: 84 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.0001744/0.1862, allocations: 135.2 kB / 0.5139 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009177/0.1871, allocations: 0.88 MB / 0.5148 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1872, allocations: 0 / 0.5148 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.1876, allocations: 0.5693 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.0002119/0.1879, allocations: 31.75 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.0007056/0.1886, allocations: 405.9 kB / 0.5157 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1888, allocations: 0.7122 MB / 0.5164 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1889, allocations: 12.66 kB / 0.5164 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.1889, allocations: 11.44 kB / 0.5164 GB, free: 9.227 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1889, allocations: 0 / 0.5164 GB, free: 9.227 MB / 414.1 MB Notification: Performance of Templates: time 0.008703/0.1976, allocations: 4.325 MB / 0.5207 GB, free: 4.961 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)