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.001183/0.001183, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001311/0.001311, allocations: 173 kB / 23.49 MB, free: 1.062 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.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.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-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 0.7635/0.7635, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.195e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001118/0.00114, allocations: 0.6023 MB / 0.5212 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000211/0.001351, allocations: 42.22 kB / 0.5213 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.001378, allocations: 0 / 0.5213 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.001414, allocations: 0 / 0.5213 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.001449, allocations: 0 / 0.5213 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.001658, allocations: 13.06 kB / 0.5213 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.345e-05/0.001731, allocations: 9.406 kB / 0.5213 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.00177, allocations: 0 / 0.5213 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.001805, allocations: 7.984 kB / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.001849, allocations: 3.984 kB / 0.5213 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.001864, allocations: 1.344 kB / 0.5213 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.001931, allocations: 15.98 kB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.001958, allocations: 4 kB / 0.5213 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.001981, allocations: 4 kB / 0.5213 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.002084, allocations: 36.36 kB / 0.5214 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002086, allocations: 3.375 kB / 0.5214 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002087, allocations: 3.938 kB / 0.5214 GB, free: 1.488 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.00209, allocations: 0 / 0.5214 GB, free: 1.488 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.0003128/0.002403, allocations: 378.1 kB / 0.5217 GB, free: 1.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.002444, allocations: 8.031 kB / 0.5217 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.002486, allocations: 0.9375 kB / 0.5217 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.663e-05/0.002563, allocations: 108.6 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.002577, allocations: 384 / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.002587, allocations: 384 / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.002725, allocations: 68.52 kB / 0.5219 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.002733, allocations: 192 / 0.5219 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.002743, allocations: 0.9375 kB / 0.5219 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.002778, allocations: 9.25 kB / 0.5219 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.002817, allocations: 49.56 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.003121, allocations: 264 kB / 0.5222 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.003178, allocations: 62.17 kB / 0.5223 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.003206, allocations: 33.39 kB / 0.5223 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.003214, allocations: 4.062 kB / 0.5223 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.003241, allocations: 34.33 kB / 0.5223 GB, free: 340 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.003242, allocations: 0 / 0.5223 GB, free: 340 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000181/0.003424, allocations: 127.8 kB / 0.5225 GB, free: 188 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.00346, allocations: 81.11 kB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.003557, allocations: 169.9 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003566, allocations: 27.14 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.003625, allocations: 162.7 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.003631, allocations: 0 / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.003661, allocations: 27.38 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.00378, allocations: 0.4892 MB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.003804, allocations: 33.69 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.00386, allocations: 116.6 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.003941, allocations: 143 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.003943, allocations: 2.656 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001075/0.004051, allocations: 148.8 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.004076, allocations: 33.7 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004081, allocations: 2.75 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.004095, allocations: 4 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.004157, allocations: 15.92 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.004165, allocations: 4 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.004215, allocations: 7.938 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.004229, allocations: 12 kB / 0.5239 GB, free: 14.55 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 7.34e-05/0.004302, allocations: 182.3 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.004318, allocations: 12.89 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-06/0.004328, allocations: 3.469 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00433, allocations: 0.9375 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.004334, allocations: 4 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.004338, allocations: 3.984 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.625e-05/0.004424, allocations: 113.6 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.004425, allocations: 0 / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-06/0.004427, allocations: 8.375 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.004428, allocations: 0 / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.004434, allocations: 0.6875 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.004434, allocations: 4 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004435, allocations: 0.6562 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.004536, allocations: 240.7 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.004545, allocations: 11.92 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.004553, allocations: 0 / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.004583, allocations: 2.438 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.004595, allocations: 0 / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.004598, allocations: 4 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.004634, allocations: 127.2 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004634, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001618/0.004796, allocations: 12 kB / 0.5246 GB, free: 13.76 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.0001154/0.004911, allocations: 110.1 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.005036, allocations: 142.4 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005038, allocations: 3.938 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.344e-05/0.005091, allocations: 92.8 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.005232, allocations: 11.14 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.005449, allocations: 145.3 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.005488, allocations: 55.36 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.005526, allocations: 13.2 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.005543, allocations: 10.12 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.005544, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.002153/0.007697, allocations: 0.5635 MB / 0.5257 GB, free: 12.55 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6900919631589204]