Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 219 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.878/0.878, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 62.03 kB / 0.6198 GB, free: 6.676 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1711, allocations: 85.89 MB / 0.7037 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001811/0.1729, allocations: 0.5952 MB / 0.7043 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002399/0.1731, allocations: 39.88 kB / 0.7043 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.1731, allocations: 0 / 0.7043 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.1732, allocations: 0 / 0.7043 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.1732, allocations: 7.984 kB / 0.7043 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1734, allocations: 19.92 kB / 0.7043 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.1735, allocations: 3.984 kB / 0.7043 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1735, allocations: 4 kB / 0.7043 GB, free: 184 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.1736, allocations: 4 kB / 0.7044 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.1736, allocations: 0 / 0.7044 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1736, allocations: 0 / 0.7044 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.1737, allocations: 19.98 kB / 0.7044 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.1737, allocations: 7.922 kB / 0.7044 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.1738, allocations: 8 kB / 0.7044 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1739, allocations: 31.84 kB / 0.7044 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1739, allocations: 0 / 0.7044 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1739, allocations: 0 / 0.7044 GB, free: 112 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1739, allocations: 0 / 0.7044 GB, free: 112 kB / 0.5137 GB 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.0003537/0.1743, allocations: 272.5 kB / 0.7047 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1743, allocations: 12.03 kB / 0.7047 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1743, allocations: 4.938 kB / 0.7047 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.1744, allocations: 110.5 kB / 0.7048 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1744, allocations: 8.312 kB / 0.7048 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.1744, allocations: 384 / 0.7048 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1746, allocations: 58.25 kB / 0.7049 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1746, allocations: 192 / 0.7049 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1746, allocations: 7.875 kB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.1746, allocations: 11.98 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.1747, allocations: 23.98 kB / 0.7049 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.175, allocations: 235.9 kB / 0.7051 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.1751, allocations: 30.5 kB / 0.7052 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.1751, allocations: 8.859 kB / 0.7052 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.1751, allocations: 0 / 0.7052 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1751, allocations: 34.62 kB / 0.7052 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1751, allocations: 0 / 0.7052 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001736/0.1753, allocations: 63.34 kB / 0.7053 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1754, allocations: 85.09 kB / 0.7053 GB, free: 15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1755, allocations: 121.7 kB / 0.7055 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1755, allocations: 29.83 kB / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.1756, allocations: 99.94 kB / 0.7056 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.1756, allocations: 4 kB / 0.7056 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.1756, allocations: 29.66 kB / 0.7056 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1758, allocations: 314.8 kB / 0.7059 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.1758, allocations: 15.98 kB / 0.7059 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.1759, allocations: 58.86 kB / 0.706 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.176, allocations: 134.1 kB / 0.7061 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.176, allocations: 0 / 0.7061 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001578/0.1761, allocations: 119.2 kB / 0.7062 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.1762, allocations: 33.7 kB / 0.7063 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1762, allocations: 256 / 0.7063 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1762, allocations: 8 kB / 0.7063 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.1763, allocations: 12 kB / 0.7063 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1763, allocations: 3.984 kB / 0.7063 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.1764, allocations: 7.953 kB / 0.7063 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1764, allocations: 12 kB / 0.7063 GB, free: 13.9 MB / 0.5294 GB 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.0001059/0.1765, allocations: 147.4 kB / 0.7064 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1765, allocations: 0 / 0.7064 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.1765, allocations: 11.45 kB / 0.7065 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1765, allocations: 0 / 0.7065 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1765, allocations: 4 kB / 0.7065 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1765, allocations: 0 / 0.7065 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1767, allocations: 128.7 kB / 0.7066 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1767, allocations: 3.938 kB / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1767, allocations: 4 kB / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1767, allocations: 0 / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1767, allocations: 0 / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1767, allocations: 0 / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1767, allocations: 4 kB / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1768, allocations: 173.1 kB / 0.7068 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.1768, allocations: 4 kB / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1769, allocations: 0 / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.1769, allocations: 0 / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-06/0.1769, allocations: 3.938 kB / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1769, allocations: 4 kB / 0.7068 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.177, allocations: 91.27 kB / 0.7069 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 0 / 0.7069 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000247/0.1772, allocations: 15.97 kB / 0.7069 GB, free: 13.24 MB / 0.5294 GB 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.0001627/0.1774, allocations: 103.2 kB / 0.707 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1776, allocations: 91.31 kB / 0.7071 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1776, allocations: 0 / 0.7071 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1776, allocations: 55.41 kB / 0.7071 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1778, allocations: 0.5625 kB / 0.7071 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.1781, allocations: 134.7 kB / 0.7072 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1784, allocations: 0.6844 MB / 0.7079 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.1784, allocations: 11.38 kB / 0.7079 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1784, allocations: 0 / 0.7079 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.002259/0.1807, allocations: 0.6738 MB / 0.7086 GB, free: 11.41 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.188377992948517] Failed to read output from testmodel.py, exit status != 0: 0.18796489806845784 0.20396333199999994 0.026760023 Calling exit ...