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.0008687/0.0008687, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0009468/0.0009468, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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 0.9061/0.9061, allocations: 230.6 MB / 256.8 MB, free: 3.434 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7695/0.7695, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [Timeout remaining time 179] 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.0008843/0.0008843, allocations: 75.89 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4455, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001234/0.4467, allocations: 0.5876 MB / 0.8197 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.4469, allocations: 34.14 kB / 0.8197 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.447, allocations: 0 / 0.8197 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.447, allocations: 3.938 kB / 0.8197 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.447, allocations: 6.656 kB / 0.8197 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.4472, allocations: 14.14 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.4473, allocations: 3.203 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.4473, allocations: 1.922 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.4474, allocations: 3.281 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.4474, allocations: 1.125 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.4474, allocations: 4.844 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.4475, allocations: 23.2 kB / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.4475, allocations: 2.531 kB / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.4475, allocations: 6.062 kB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.4476, allocations: 26.58 kB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4476, allocations: 3.578 kB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4476, allocations: 3.938 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4476, allocations: 0 / 0.8198 GB, free: 24.79 MB / 0.6355 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.0002228/0.4479, allocations: 288.4 kB / 0.8201 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4479, allocations: 10.12 kB / 0.8201 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.4479, allocations: 3.609 kB / 0.8201 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.626e-05/0.448, allocations: 109.8 kB / 0.8202 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.448, allocations: 1.312 kB / 0.8202 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.448, allocations: 1.812 kB / 0.8202 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.4481, allocations: 55.36 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.4481, allocations: 2.25 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4481, allocations: 4.594 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.4481, allocations: 11.64 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.4482, allocations: 27.42 kB / 0.8203 GB, free: 24.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.4484, allocations: 236.8 kB / 0.8205 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.4484, allocations: 19.59 kB / 0.8206 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.4484, allocations: 7.578 kB / 0.8206 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.4485, allocations: 0.7188 kB / 0.8206 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.4485, allocations: 37.47 kB / 0.8206 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4485, allocations: 3.531 kB / 0.8206 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.4486, allocations: 67.19 kB / 0.8207 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.4486, allocations: 78.88 kB / 0.8208 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.4487, allocations: 119 kB / 0.8209 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.4487, allocations: 26.45 kB / 0.8209 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.4487, allocations: 100.9 kB / 0.821 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.4487, allocations: 6.516 kB / 0.821 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.4487, allocations: 27.36 kB / 0.821 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.799e-05/0.4488, allocations: 317.8 kB / 0.8213 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.4488, allocations: 8.844 kB / 0.8213 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.4488, allocations: 65.16 kB / 0.8214 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.4489, allocations: 139.4 kB / 0.8215 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4489, allocations: 0 / 0.8215 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.216e-05/0.449, allocations: 119.9 kB / 0.8216 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.449, allocations: 32.69 kB / 0.8217 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.449, allocations: 6.625 kB / 0.8217 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.449, allocations: 2.656 kB / 0.8217 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.4491, allocations: 21.23 kB / 0.8217 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4491, allocations: 6.672 kB / 0.8217 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.4491, allocations: 12.08 kB / 0.8217 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4491, allocations: 5.438 kB / 0.8217 GB, free: 22.89 MB / 0.6355 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 4.227e-05/0.4492, allocations: 147.9 kB / 0.8219 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.4492, allocations: 3.062 kB / 0.8219 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095e-05/0.4492, allocations: 9.844 kB / 0.8219 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.4492, allocations: 0 / 0.8219 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4492, allocations: 1.344 kB / 0.8219 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4492, allocations: 8.5 kB / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.053e-05/0.4493, allocations: 128.6 kB / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-07/0.4493, allocations: 0 / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.4493, allocations: 0.875 kB / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4493, allocations: 1.344 kB / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.4493, allocations: 1 kB / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4493, allocations: 0.5312 kB / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4493, allocations: 0.6562 kB / 0.822 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.794e-05/0.4494, allocations: 176.5 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.4494, allocations: 2.266 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.4494, allocations: 1.188 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.4494, allocations: 2.109 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.4494, allocations: 1.484 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4494, allocations: 1.844 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.4495, allocations: 90.16 kB / 0.8223 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4495, allocations: 0 / 0.8223 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001596/0.4496, allocations: 13.59 kB / 0.8223 GB, free: 22.29 MB / 0.6355 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.0001037/0.4497, allocations: 107.5 kB / 0.8224 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.4498, allocations: 82.72 kB / 0.8225 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4498, allocations: 0.6562 kB / 0.8225 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.4498, allocations: 60.3 kB / 0.8225 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.45, allocations: 9.578 kB / 0.8225 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.4501, allocations: 143.4 kB / 0.8227 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.4502, allocations: 0.6788 MB / 0.8233 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.4502, allocations: 9.25 kB / 0.8233 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of SimCode: time 3.2e-07/0.4502, allocations: 0.9688 kB / 0.8233 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.001677/0.4519, allocations: 0.6865 MB / 0.824 GB, free: 21.16 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.650701513048261] Failed to read output from testmodel.py, exit status != 0: 0.45699408487416804 0.464682811 0.015400593 Calling exit ...