Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001429/0.001429, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001846/0.001846, allocations: 214.7 kB / 22.24 MB, free: 4.859 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.256/1.256, allocations: 203.8 MB / 0.5041 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.00254/0.00254, allocations: 63.91 kB / 0.7187 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6187, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002691/0.6213, allocations: 0.6021 MB / 0.8189 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003214/0.6217, allocations: 34.81 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.6217, allocations: 1.312 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.6217, allocations: 0 / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.6218, allocations: 2.234 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.6221, allocations: 11.92 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.6222, allocations: 4.922 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.155e-05/0.6222, allocations: 2.484 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.6222, allocations: 3.078 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.6223, allocations: 1.312 kB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.6223, allocations: 5.234 kB / 0.8189 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.6224, allocations: 26.19 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.6224, allocations: 7.062 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.6225, allocations: 5.016 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.6226, allocations: 22.7 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6226, allocations: 1.203 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6226, allocations: 0 / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6226, allocations: 0.9062 kB / 0.819 GB, free: 28.47 MB / 0.6387 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.0003372/0.623, allocations: 276.5 kB / 0.8193 GB, free: 28.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.623, allocations: 10.59 kB / 0.8193 GB, free: 28.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.623, allocations: 5.5 kB / 0.8193 GB, free: 28.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.923e-05/0.6231, allocations: 105.4 kB / 0.8194 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.6231, allocations: 2 kB / 0.8194 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.6231, allocations: 1.969 kB / 0.8194 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.6233, allocations: 86.8 kB / 0.8195 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6233, allocations: 1.25 kB / 0.8195 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6233, allocations: 8.438 kB / 0.8195 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.6234, allocations: 6.625 kB / 0.8195 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.6234, allocations: 51.31 kB / 0.8195 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.6238, allocations: 219.4 kB / 0.8197 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.6238, allocations: 45.42 kB / 0.8198 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.6239, allocations: 37.58 kB / 0.8198 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.6239, allocations: 0 / 0.8198 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.6239, allocations: 37.36 kB / 0.8199 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.6239, allocations: 0.5312 kB / 0.8199 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0002211/0.6241, allocations: 121.6 kB / 0.82 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.6242, allocations: 78.05 kB / 0.8201 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.6243, allocations: 125.6 kB / 0.8202 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.6243, allocations: 30.61 kB / 0.8202 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.6243, allocations: 100.8 kB / 0.8203 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.6243, allocations: 6.188 kB / 0.8203 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.6244, allocations: 23.69 kB / 0.8203 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.6244, allocations: 321.5 kB / 0.8206 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.6245, allocations: 35.95 kB / 0.8207 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.6246, allocations: 94.89 kB / 0.8208 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.6247, allocations: 136.2 kB / 0.8209 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6247, allocations: 0 / 0.8209 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001809/0.6248, allocations: 152 kB / 0.821 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.6249, allocations: 31.64 kB / 0.8211 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6249, allocations: 2.25 kB / 0.8211 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.6249, allocations: 2.219 kB / 0.8211 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.625, allocations: 17.19 kB / 0.8211 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.625, allocations: 6.562 kB / 0.8211 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.6251, allocations: 8.688 kB / 0.8211 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.6251, allocations: 6.156 kB / 0.8211 GB, free: 26.33 MB / 0.6387 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 7.38e-05/0.6252, allocations: 146.7 kB / 0.8212 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.6252, allocations: 3.672 kB / 0.8212 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.6252, allocations: 9.203 kB / 0.8213 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6252, allocations: 1 kB / 0.8213 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6252, allocations: 0 / 0.8213 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6252, allocations: 0.7969 kB / 0.8213 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.6253, allocations: 117.2 kB / 0.8214 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6253, allocations: 0 / 0.8214 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-06/0.6253, allocations: 4.75 kB / 0.8214 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6253, allocations: 8.906 kB / 0.8214 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.6253, allocations: 4.844 kB / 0.8214 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6253, allocations: 0 / 0.8214 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6253, allocations: 1.031 kB / 0.8214 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.6255, allocations: 192.6 kB / 0.8216 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.6255, allocations: 0.9375 kB / 0.8216 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.6255, allocations: 2.281 kB / 0.8216 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.6256, allocations: 4.781 kB / 0.8216 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.6256, allocations: 2.141 kB / 0.8216 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.6256, allocations: 5.438 kB / 0.8216 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.6256, allocations: 91.22 kB / 0.8217 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6256, allocations: 0 / 0.8217 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000266/0.6259, allocations: 9.625 kB / 0.8217 GB, free: 25.73 MB / 0.6387 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.000169/0.6261, allocations: 99.62 kB / 0.8218 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.6263, allocations: 144.7 kB / 0.8219 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6263, allocations: 0 / 0.8219 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.6263, allocations: 85.97 kB / 0.822 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.6265, allocations: 9.375 kB / 0.822 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.6268, allocations: 139.3 kB / 0.8221 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.6269, allocations: 62.42 kB / 0.8222 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.627, allocations: 11.64 kB / 0.8222 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.627, allocations: 12.75 kB / 0.8222 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.627, allocations: 0 / 0.8222 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of Templates: time 0.003564/0.6306, allocations: 0.5447 MB / 0.8228 GB, free: 25.1 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.69854474067688] Failed to read output from testmodel.py, exit status != 0: 0.6400404665619135 0.653212072 0.027636336 Calling exit ...