Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.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.001996/0.001996, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.002279/0.00228, allocations: 194.7 kB / 19.35 MB, free: 3.734 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.601/1.601, allocations: 205.1 MB / 227.2 MB, free: 12.14 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.2915/0.2915, allocations: 54.95 MB / 331.5 MB, free: 2.746 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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") translateModel(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") [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.002339/0.002339, allocations: 74.86 kB / 464.9 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1685, allocations: 59.59 MB / 0.5122 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.003186/0.1718, allocations: 1.467 MB / 0.5136 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.173, allocations: 0.4925 MB / 0.5141 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.1731, allocations: 0 / 0.5141 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1732, allocations: 3.938 kB / 0.5141 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.1733, allocations: 19.86 kB / 0.5141 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1736, allocations: 39.89 kB / 0.5142 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1738, allocations: 103.7 kB / 0.5143 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1739, allocations: 16.12 kB / 0.5143 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1741, allocations: 55.81 kB / 0.5143 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1742, allocations: 43.83 kB / 0.5144 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1742, allocations: 8 kB / 0.5144 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.1743, allocations: 8 kB / 0.5144 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1743, allocations: 11.98 kB / 0.5144 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.1744, allocations: 39.8 kB / 0.5144 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1746, allocations: 79.7 kB / 0.5145 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.1746, allocations: 3.984 kB / 0.5145 GB, free: 2.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1746, allocations: 0 / 0.5145 GB, free: 2.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1747, allocations: 4 kB / 0.5145 GB, free: 2.395 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008941/0.1756, allocations: 446.6 kB / 0.515 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1756, allocations: 8.031 kB / 0.515 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1757, allocations: 16.81 kB / 0.515 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1759, allocations: 196.2 kB / 0.5152 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1759, allocations: 4.375 kB / 0.5152 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.176, allocations: 12.38 kB / 0.5152 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.1763, allocations: 113.8 kB / 0.5153 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1763, allocations: 0 / 0.5153 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1764, allocations: 8 kB / 0.5153 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1764, allocations: 4 kB / 0.5153 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.1767, allocations: 87.92 kB / 0.5154 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.1774, allocations: 332.6 kB / 0.5157 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.1777, allocations: 106.5 kB / 0.5158 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.1779, allocations: 72.94 kB / 0.5159 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1779, allocations: 0 / 0.5159 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.1783, allocations: 127.3 kB / 0.516 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.1784, allocations: 0 / 0.516 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007711/0.1791, allocations: 275.2 kB / 0.5163 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.1792, allocations: 85.11 kB / 0.5163 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1794, allocations: 129.8 kB / 0.5165 GB, free: 200 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1794, allocations: 33.64 kB / 0.5165 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1795, allocations: 100.1 kB / 0.5166 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1796, allocations: 19.97 kB / 0.5166 GB, free: 36 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.1796, allocations: 25.72 kB / 0.5166 GB, free: 4 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.1799, allocations: 322.8 kB / 0.5169 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1801, allocations: 67.95 kB / 0.517 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1803, allocations: 75.81 kB / 0.5171 GB, free: 15.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.1807, allocations: 181.9 kB / 0.5172 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1807, allocations: 0 / 0.5172 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005393/0.1812, allocations: 256.9 kB / 0.5175 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.1813, allocations: 67.39 kB / 0.5176 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1813, allocations: 4.156 kB / 0.5176 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1814, allocations: 4 kB / 0.5176 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1815, allocations: 11.98 kB / 0.5176 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1815, allocations: 3.984 kB / 0.5176 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1817, allocations: 23.91 kB / 0.5176 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1817, allocations: 8 kB / 0.5176 GB, free: 14.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 0.0001877/0.1819, allocations: 156.1 kB / 0.5178 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1819, allocations: 15.95 kB / 0.5178 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.1819, allocations: 8.375 kB / 0.5178 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.182, allocations: 0 / 0.5178 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.182, allocations: 0 / 0.5178 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.182, allocations: 0 / 0.5178 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1822, allocations: 201.5 kB / 0.518 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1822, allocations: 0 / 0.518 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.1823, allocations: 11.98 kB / 0.518 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1823, allocations: 0 / 0.518 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1823, allocations: 4.25 kB / 0.518 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.1823, allocations: 15.92 kB / 0.518 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1823, allocations: 0 / 0.518 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.1828, allocations: 246.6 kB / 0.5182 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1829, allocations: 77.11 kB / 0.5183 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1829, allocations: 8 kB / 0.5183 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1831, allocations: 24.06 kB / 0.5183 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.1832, allocations: 35.91 kB / 0.5184 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1833, allocations: 8 kB / 0.5184 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.213e-05/0.1833, allocations: 106.8 kB / 0.5185 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1834, allocations: 0 / 0.5185 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000212/0.1836, allocations: 31.89 kB / 0.5185 GB, free: 13.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001195/0.1837, allocations: 99.23 kB / 0.5186 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.1843, allocations: 274.6 kB / 0.5189 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1843, allocations: 0 / 0.5189 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.1845, allocations: 139.3 kB / 0.519 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1848, allocations: 12 kB / 0.519 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.1854, allocations: 239 kB / 0.5192 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1858, allocations: 0.6885 MB / 0.5199 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.748e-05/0.1858, allocations: 4 kB / 0.5199 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.1859, allocations: 15.44 kB / 0.5199 GB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1859, allocations: 0 / 0.5199 GB, free: 12.35 MB / 414.1 MB Notification: Performance of Templates: time 0.005249/0.1911, allocations: 1.867 MB / 0.5218 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6497719110921025]