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.001791/0.001791, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 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.002218/0.002218, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-535:34: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-535:42: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.199/1.199, allocations: 154.8 MB / 414.3 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.222e-05, allocations: 6.141 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001809/0.001841, allocations: 0.5936 MB / 0.5205 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.002089, allocations: 31.89 kB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.002115, allocations: 4 kB / 0.5205 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.002169, allocations: 1.094 kB / 0.5205 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.002208, allocations: 3.984 kB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.00244, allocations: 21.2 kB / 0.5205 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.002512, allocations: 8.641 kB / 0.5206 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.002549, allocations: 0 / 0.5206 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.002585, allocations: 4.562 kB / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.002626, allocations: 2.125 kB / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.002641, allocations: 0 / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.002729, allocations: 19.97 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.002766, allocations: 13.38 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.002794, allocations: 3.984 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002899, allocations: 19.98 kB / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.002904, allocations: 4.547 kB / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002904, allocations: 0 / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.002908, allocations: 0.9688 kB / 0.5206 GB, free: 1.547 MB / 490.7 MB 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.0003963/0.003304, allocations: 272.1 kB / 0.5209 GB, free: 1.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.003345, allocations: 13.81 kB / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.003399, allocations: 4.922 kB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.003509, allocations: 105.8 kB / 0.521 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.003525, allocations: 384 / 0.521 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.003537, allocations: 4.312 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.003711, allocations: 81.08 kB / 0.5211 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.003719, allocations: 192 / 0.5211 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.003732, allocations: 4.375 kB / 0.5211 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.003762, allocations: 9.078 kB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.003841, allocations: 53.62 kB / 0.5211 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.004235, allocations: 221.6 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.004315, allocations: 48.16 kB / 0.5214 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.004354, allocations: 34.62 kB / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.004362, allocations: 1.438 kB / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.004399, allocations: 30.56 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.0044, allocations: 0 / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002678/0.004668, allocations: 127.5 kB / 0.5216 GB, free: 404 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.004735, allocations: 81.11 kB / 0.5217 GB, free: 304 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.004863, allocations: 122.6 kB / 0.5218 GB, free: 172 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.004885, allocations: 25.7 kB / 0.5218 GB, free: 140 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.004981, allocations: 106.7 kB / 0.5219 GB, free: 32 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.00499, allocations: 3.953 kB / 0.5219 GB, free: 28 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.005039, allocations: 21.8 kB / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.005234, allocations: 318.8 kB / 0.5222 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.005277, allocations: 33.7 kB / 0.5223 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.005382, allocations: 84.56 kB / 0.5224 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.00554, allocations: 132.2 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.005548, allocations: 4.969 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.005774, allocations: 154.8 kB / 0.5226 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.00582, allocations: 37.69 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.005827, allocations: 0.5 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.005848, allocations: 4 kB / 0.5227 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.005938, allocations: 13.03 kB / 0.5227 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.005945, allocations: 480 / 0.5227 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.00602, allocations: 5.094 kB / 0.5227 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.006039, allocations: 12 kB / 0.5227 GB, free: 15.12 MB / 0.4948 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.0001349/0.006174, allocations: 147.4 kB / 0.5228 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.00621, allocations: 12.52 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.006222, allocations: 4.844 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.006226, allocations: 3.984 kB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.006231, allocations: 4 kB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006234, allocations: 0 / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.006384, allocations: 105.9 kB / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006385, allocations: 0 / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.006388, allocations: 4.562 kB / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.00639, allocations: 1.281 kB / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.006397, allocations: 3.938 kB / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.0064, allocations: 8 kB / 0.523 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006401, allocations: 0 / 0.523 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.006594, allocations: 192.2 kB / 0.5232 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.006611, allocations: 7.938 kB / 0.5232 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.006624, allocations: 0.75 kB / 0.5232 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.006685, allocations: 3.984 kB / 0.5232 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.006705, allocations: 5 kB / 0.5232 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.00671, allocations: 0 / 0.5232 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.006797, allocations: 99.23 kB / 0.5233 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006797, allocations: 2.75 kB / 0.5233 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002559/0.007053, allocations: 8 kB / 0.5233 GB, free: 14.45 MB / 0.4948 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.0001816/0.007235, allocations: 99.25 kB / 0.5234 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.00743, allocations: 141.4 kB / 0.5235 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.007434, allocations: 4 kB / 0.5235 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.65e-05/0.007501, allocations: 85.09 kB / 0.5236 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.007711, allocations: 0 / 0.5236 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.008023, allocations: 146.2 kB / 0.5237 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.008096, allocations: 63.34 kB / 0.5238 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.955e-05/0.008195, allocations: 13.83 kB / 0.5238 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.008216, allocations: 8.5 kB / 0.5238 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.008217, allocations: 0.8438 kB / 0.5238 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.003397/0.01161, allocations: 0.5707 MB / 0.5244 GB, free: 13.27 MB / 0.4948 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.72629288805183]