Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001757/0.001757, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.001733/0.001733, allocations: 198.7 kB / 19.35 MB, free: 3.73 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.505/1.505, 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.2904/0.2904, allocations: 54.95 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [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.002315/0.002315, allocations: 70.86 kB / 464.9 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1707, allocations: 59.6 MB / 0.5122 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002002/0.1728, allocations: 0.5405 MB / 0.5128 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.1731, allocations: 44.05 kB / 0.5128 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.1732, allocations: 0 / 0.5128 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.1732, allocations: 0 / 0.5128 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.1733, allocations: 0 / 0.5128 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1735, allocations: 11.98 kB / 0.5128 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1737, allocations: 8 kB / 0.5128 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.1737, allocations: 7.938 kB / 0.5128 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.1738, allocations: 3.938 kB / 0.5128 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.1738, allocations: 0 / 0.5128 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1738, allocations: 4 kB / 0.5128 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.1739, allocations: 19.92 kB / 0.5129 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.174, allocations: 4 kB / 0.5129 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.174, allocations: 15.91 kB / 0.5129 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1741, allocations: 19.92 kB / 0.5129 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1742, allocations: 0 / 0.5129 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1742, allocations: 0 / 0.5129 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1742, allocations: 4 kB / 0.5129 GB, free: 4.105 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.0005183/0.1747, allocations: 353.1 kB / 0.5132 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1748, allocations: 12.03 kB / 0.5133 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1748, allocations: 0.9375 kB / 0.5133 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.175, allocations: 160.4 kB / 0.5134 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.175, allocations: 384 / 0.5134 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.175, allocations: 4.375 kB / 0.5134 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1752, allocations: 61.62 kB / 0.5135 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1752, allocations: 3.938 kB / 0.5135 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1752, allocations: 7.984 kB / 0.5135 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.1753, allocations: 4 kB / 0.5135 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.1754, allocations: 27.97 kB / 0.5135 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1758, allocations: 264.8 kB / 0.5138 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.1759, allocations: 18.58 kB / 0.5138 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1759, allocations: 8.922 kB / 0.5138 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1759, allocations: 0 / 0.5138 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.176, allocations: 38.5 kB / 0.5138 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.176, allocations: 0 / 0.5138 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002167/0.1762, allocations: 67.39 kB / 0.5139 GB, free: 2.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1763, allocations: 77.11 kB / 0.514 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1764, allocations: 125.7 kB / 0.5141 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1764, allocations: 25.7 kB / 0.5141 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1765, allocations: 107.9 kB / 0.5142 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-06/0.1765, allocations: 4.125 kB / 0.5142 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.1766, allocations: 25.67 kB / 0.5142 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1768, allocations: 314.8 kB / 0.5145 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.1768, allocations: 11.98 kB / 0.5146 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.1769, allocations: 66.73 kB / 0.5146 GB, free: 2.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.177, allocations: 130.2 kB / 0.5147 GB, free: 1.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1771, allocations: 0 / 0.5147 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/0.1772, allocations: 119.2 kB / 0.5149 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.1773, allocations: 37.64 kB / 0.5149 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1773, allocations: 0 / 0.5149 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1773, allocations: 4 kB / 0.5149 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.1774, allocations: 15.92 kB / 0.5149 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.1775, allocations: 8.188 kB / 0.5149 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.1776, allocations: 15.89 kB / 0.5149 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1776, allocations: 8 kB / 0.5149 GB, free: 1.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.000155/0.1777, allocations: 148.2 kB / 0.5151 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1778, allocations: 0 / 0.5151 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.1778, allocations: 7.531 kB / 0.5151 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1778, allocations: 0 / 0.5151 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1778, allocations: 3.938 kB / 0.5151 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1778, allocations: 0 / 0.5151 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.178, allocations: 153.7 kB / 0.5152 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.178, allocations: 4 kB / 0.5152 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-06/0.1781, allocations: 3.938 kB / 0.5152 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1781, allocations: 0 / 0.5152 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1781, allocations: 4 kB / 0.5152 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1781, allocations: 0 / 0.5152 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1781, allocations: 3.938 kB / 0.5153 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.1783, allocations: 165.2 kB / 0.5154 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1784, allocations: 81.14 kB / 0.5155 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1784, allocations: 0 / 0.5155 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.1784, allocations: 4 kB / 0.5155 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1785, allocations: 7.922 kB / 0.5155 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1785, allocations: 0 / 0.5155 GB, free: 1.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.1785, allocations: 87.28 kB / 0.5156 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1786, allocations: 0 / 0.5156 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1788, allocations: 12 kB / 0.5156 GB, free: 0.9258 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002251/0.179, allocations: 111.3 kB / 0.5157 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1792, allocations: 87.27 kB / 0.5158 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.1793, allocations: 3.938 kB / 0.5158 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.1793, allocations: 59.41 kB / 0.5158 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1795, allocations: 4 kB / 0.5158 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.1798, allocations: 108.9 kB / 0.5159 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1802, allocations: 0.6812 MB / 0.5166 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1804, allocations: 19.72 kB / 0.5166 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.1804, allocations: 11.44 kB / 0.5166 GB, free: 15.76 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1804, allocations: 0 / 0.5166 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Templates: time 0.003701/0.1841, allocations: 0.5271 MB / 0.5172 GB, free: 15.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2289954256266356]