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.001116/0.001116, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001179/0.001179, allocations: 169 kB / 23.27 MB, free: 1.223 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.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.8256/0.8256, allocations: 154.9 MB / 415.1 MB, free: 264 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 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 2.765e-06/2.765e-06, allocations: 4 kB / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.657e-05, allocations: 3.781 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001131/0.001148, allocations: 0.599 MB / 0.5218 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.001346, allocations: 40.75 kB / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.001368, allocations: 0 / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.0014, allocations: 0 / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.001436, allocations: 1.812 kB / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.001624, allocations: 15.92 kB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.245e-05/0.001687, allocations: 5.531 kB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.09e-05/0.001718, allocations: 0 / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.001752, allocations: 4 kB / 0.5218 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.001797, allocations: 9.562 kB / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.001808, allocations: 0 / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.001875, allocations: 16.75 kB / 0.5219 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.001901, allocations: 7.938 kB / 0.5219 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.001918, allocations: 8.75 kB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.16e-05/0.00201, allocations: 23.91 kB / 0.5219 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002012, allocations: 1.469 kB / 0.5219 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002013, allocations: 0 / 0.5219 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.002016, allocations: 0 / 0.5219 GB, free: 0.7539 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.0002675/0.002283, allocations: 378 kB / 0.5223 GB, free: 348 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.002317, allocations: 9.375 kB / 0.5223 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.002342, allocations: 4.938 kB / 0.5223 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.27e-05/0.002395, allocations: 104.6 kB / 0.5224 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.002404, allocations: 384 / 0.5224 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.002411, allocations: 9.344 kB / 0.5224 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.81e-05/0.002489, allocations: 67.95 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.002498, allocations: 7.047 kB / 0.5225 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.002505, allocations: 384 / 0.5225 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.00253, allocations: 8.312 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.002556, allocations: 41.62 kB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.00278, allocations: 252.7 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.002818, allocations: 60.69 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.002833, allocations: 33.39 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.002836, allocations: 8 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.002855, allocations: 33.95 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.002856, allocations: 0.5625 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.002987, allocations: 123.6 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.003016, allocations: 81.11 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.003088, allocations: 171.4 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.003096, allocations: 29.64 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.003148, allocations: 158.6 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.003152, allocations: 3.984 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.003179, allocations: 28.31 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.003272, allocations: 496.1 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.003288, allocations: 33.69 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.003331, allocations: 100.6 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.003401, allocations: 150.6 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.003403, allocations: 1.281 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.91e-05/0.003492, allocations: 142.1 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.003515, allocations: 40.72 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.00352, allocations: 480 / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.003531, allocations: 4 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.003571, allocations: 8 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.003577, allocations: 4 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.00362, allocations: 11.94 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.00363, allocations: 4 kB / 0.5244 GB, free: 13.86 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 6.028e-05/0.003691, allocations: 190.2 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.003704, allocations: 14.64 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.003716, allocations: 3.469 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.003717, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.003718, allocations: 4 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.00372, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.191e-05/0.003792, allocations: 101.2 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.003793, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.003793, allocations: 4.438 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003794, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.003799, allocations: 9.25 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-07/0.003799, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.003801, allocations: 3.984 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.249e-05/0.003883, allocations: 243.8 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-06/0.003889, allocations: 0.5 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.003898, allocations: 8.438 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.003925, allocations: 0 / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-06/0.003933, allocations: 1.844 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.003936, allocations: 4 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.003968, allocations: 135.2 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003968, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001456/0.004113, allocations: 8 kB / 0.5251 GB, free: 13.07 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 9.104e-05/0.004204, allocations: 101.7 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.004302, allocations: 142.4 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004303, allocations: 2.406 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.417e-05/0.004328, allocations: 92.78 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.004458, allocations: 4 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.004619, allocations: 147.9 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.004647, allocations: 51.36 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.004667, allocations: 9.953 kB / 0.5256 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.00471, allocations: 75.77 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.004711, allocations: 0 / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.001948/0.006659, allocations: 0.5906 MB / 0.5263 GB, free: 11.79 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.690509904175997]