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.001986/0.001986, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003121/0.003121, allocations: 206.7 kB / 22.24 MB, free: 5.262 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 7.773 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.8889/0.8889, allocations: 134 MB / 446.4 MB, free: 9.906 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.002104/0.002104, allocations: 66.12 kB / 0.619 GB, free: 6.305 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2054, allocations: 85.9 MB / 0.7029 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002557/0.208, allocations: 0.5915 MB / 0.7035 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004268/0.2084, allocations: 43.72 kB / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2084, allocations: 0 / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.923e-05/0.2085, allocations: 0 / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.2085, allocations: 0 / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2088, allocations: 23.92 kB / 0.7035 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.209, allocations: 0 / 0.7035 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.209, allocations: 4 kB / 0.7035 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.2091, allocations: 0 / 0.7035 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.2091, allocations: 0 / 0.7035 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2091, allocations: 0 / 0.7035 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2093, allocations: 27.97 kB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.2093, allocations: 3.984 kB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.2093, allocations: 7.938 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.2095, allocations: 23.86 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2095, allocations: 4 kB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2095, allocations: 0 / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2095, allocations: 0 / 0.7036 GB, free: 15.76 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.0004123/0.2099, allocations: 276.5 kB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.21, allocations: 8.031 kB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.21, allocations: 4.938 kB / 0.7039 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2101, allocations: 110.5 kB / 0.704 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2101, allocations: 384 / 0.704 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.2101, allocations: 4.312 kB / 0.704 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2103, allocations: 87.92 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2103, allocations: 4.188 kB / 0.7041 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2103, allocations: 7.938 kB / 0.7041 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.2103, allocations: 7.938 kB / 0.7041 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.2104, allocations: 49.69 kB / 0.7041 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.2108, allocations: 224.5 kB / 0.7043 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.2109, allocations: 48.2 kB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.2109, allocations: 34.62 kB / 0.7044 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.2109, allocations: 0 / 0.7044 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.2109, allocations: 30.56 kB / 0.7045 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.2109, allocations: 0 / 0.7045 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002253/0.2112, allocations: 126.8 kB / 0.7046 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.2112, allocations: 81.14 kB / 0.7047 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2114, allocations: 125.7 kB / 0.7048 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2114, allocations: 25.7 kB / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.2114, allocations: 103.9 kB / 0.7049 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2115, allocations: 3.953 kB / 0.7049 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.2115, allocations: 21.72 kB / 0.7049 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2117, allocations: 318.8 kB / 0.7052 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.2117, allocations: 37.69 kB / 0.7053 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.2118, allocations: 84.56 kB / 0.7053 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.212, allocations: 134.1 kB / 0.7055 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.212, allocations: 0 / 0.7055 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/0.2122, allocations: 149.1 kB / 0.7056 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.2122, allocations: 33.64 kB / 0.7056 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2123, allocations: 4 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2123, allocations: 0 / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.2124, allocations: 15.98 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2124, allocations: 4 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.2124, allocations: 15.89 kB / 0.7057 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2125, allocations: 4 kB / 0.7057 GB, free: 13.3 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.000134/0.2126, allocations: 155.4 kB / 0.7058 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.2126, allocations: 0 / 0.7058 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.455e-05/0.2126, allocations: 7.531 kB / 0.7058 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2126, allocations: 4 kB / 0.7058 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2126, allocations: 0 / 0.7058 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2126, allocations: 0 / 0.7058 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2128, allocations: 113.3 kB / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2128, allocations: 0 / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.2128, allocations: 0 / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2128, allocations: 0 / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2128, allocations: 4 kB / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2128, allocations: 0 / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2128, allocations: 0 / 0.706 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.213, allocations: 198.8 kB / 0.7061 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.213, allocations: 7.938 kB / 0.7062 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.213, allocations: 0 / 0.7062 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.2131, allocations: 3.938 kB / 0.7062 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.2131, allocations: 3.938 kB / 0.7062 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2131, allocations: 7.984 kB / 0.7062 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.2132, allocations: 87.28 kB / 0.7063 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2132, allocations: 0 / 0.7063 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002508/0.2134, allocations: 8 kB / 0.7063 GB, free: 12.64 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.0001881/0.2136, allocations: 107.3 kB / 0.7064 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.2138, allocations: 138.7 kB / 0.7065 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2138, allocations: 0 / 0.7065 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.2139, allocations: 81.11 kB / 0.7066 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.2141, allocations: 10.28 kB / 0.7066 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.2144, allocations: 138.1 kB / 0.7067 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.2145, allocations: 63.77 kB / 0.7068 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.357e-05/0.2146, allocations: 19.73 kB / 0.7068 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.2146, allocations: 11.38 kB / 0.7068 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.2146, allocations: 4 kB / 0.7068 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.003041/0.2176, allocations: 0.5443 MB / 0.7073 GB, free: 11.45 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: 6.0376580860465765] Failed to read output from testmodel.py, exit status != 0: 0.22548109851777554 0.241491913 0.028740296000000002 Calling exit ...