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.001555/0.001555, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001863/0.001863, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8442/0.8442, allocations: 134 MB / 447.2 MB, free: 9.941 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.002028/0.002028, allocations: 62.66 kB / 0.6197 GB, free: 6.367 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 85.91 MB / 0.7036 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0017/0.1673, allocations: 0.5863 MB / 0.7042 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.1675, allocations: 39.88 kB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.1675, allocations: 4 kB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.1676, allocations: 0 / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.1676, allocations: 0 / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1678, allocations: 15.92 kB / 0.7043 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.1679, allocations: 8 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1679, allocations: 0 / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.1679, allocations: 4 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.168, allocations: 3.938 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.168, allocations: 0 / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.1681, allocations: 19.97 kB / 0.7043 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.1681, allocations: 11.98 kB / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1681, allocations: 3.938 kB / 0.7043 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1682, allocations: 23.92 kB / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1682, allocations: 0 / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1682, allocations: 0 / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1682, allocations: 3.938 kB / 0.7043 GB, free: 15.82 MB / 0.5294 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.0003618/0.1686, allocations: 276.5 kB / 0.7046 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1686, allocations: 12.03 kB / 0.7046 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1687, allocations: 4.938 kB / 0.7046 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.1688, allocations: 106.5 kB / 0.7047 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1688, allocations: 16.28 kB / 0.7047 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1688, allocations: 4.375 kB / 0.7047 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1689, allocations: 87.94 kB / 0.7048 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.169, allocations: 192 / 0.7048 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.169, allocations: 3.938 kB / 0.7048 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.169, allocations: 8 kB / 0.7048 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.169, allocations: 49.69 kB / 0.7049 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.1694, allocations: 212.5 kB / 0.7051 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.1695, allocations: 60.14 kB / 0.7051 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.1695, allocations: 34.62 kB / 0.7052 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1695, allocations: 0 / 0.7052 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1695, allocations: 34.56 kB / 0.7052 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1695, allocations: 0 / 0.7052 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002037/0.1697, allocations: 122.8 kB / 0.7053 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1698, allocations: 81.05 kB / 0.7054 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.1699, allocations: 113.8 kB / 0.7055 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1699, allocations: 29.7 kB / 0.7055 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.17, allocations: 103.9 kB / 0.7056 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.17, allocations: 7.953 kB / 0.7056 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.17, allocations: 21.72 kB / 0.7057 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1702, allocations: 314.8 kB / 0.706 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.1702, allocations: 45.81 kB / 0.706 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.1703, allocations: 88.62 kB / 0.7061 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1704, allocations: 130.1 kB / 0.7062 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1704, allocations: 0 / 0.7062 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001738/0.1706, allocations: 144.9 kB / 0.7064 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.1706, allocations: 40.03 kB / 0.7064 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1706, allocations: 4 kB / 0.7064 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1707, allocations: 0 / 0.7064 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.1707, allocations: 12 kB / 0.7064 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1707, allocations: 3.938 kB / 0.7064 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.1708, allocations: 15.89 kB / 0.7064 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1708, allocations: 12.25 kB / 0.7064 GB, free: 13.35 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.0001102/0.1709, allocations: 147.4 kB / 0.7066 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1709, allocations: 8 kB / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.084e-05/0.171, allocations: 3.469 kB / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.171, allocations: 0 / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.171, allocations: 0 / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.171, allocations: 0 / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.1711, allocations: 109.2 kB / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1711, allocations: 0 / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1711, allocations: 0 / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1711, allocations: 0 / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1711, allocations: 4 kB / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1711, allocations: 0 / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1711, allocations: 4 kB / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.1713, allocations: 198.8 kB / 0.7069 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.1713, allocations: 4 kB / 0.7069 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1713, allocations: 4 kB / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.1713, allocations: 7.922 kB / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.1713, allocations: 3.938 kB / 0.7069 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1714, allocations: 4 kB / 0.7069 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.1714, allocations: 83.28 kB / 0.707 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 4.031 kB / 0.707 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002532/0.1717, allocations: 15.98 kB / 0.707 GB, free: 12.69 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.0001536/0.1718, allocations: 99.25 kB / 0.7071 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.172, allocations: 134.7 kB / 0.7072 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.172, allocations: 0 / 0.7072 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/0.1721, allocations: 85.09 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1723, allocations: 8.5 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.1725, allocations: 160.4 kB / 0.7075 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.51e-05/0.1726, allocations: 67.14 kB / 0.7075 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.1726, allocations: 11.44 kB / 0.7076 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1726, allocations: 3.938 kB / 0.7076 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.00228/0.1749, allocations: 0.687 MB / 0.7082 GB, free: 11.34 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: 7.594761938787997] Failed to read output from testmodel.py, exit status != 0: 0.1820904309861362 0.204040835 0.031822695000000005 Calling exit ...