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.001609/0.001609, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001899/0.001899, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.468/1.468, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.217/1.217, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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.814e-06/1.814e-06, allocations: 0 / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.253e-05, allocations: 2.875 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001727/0.001759, allocations: 0.59 MB / 0.6191 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.002027, allocations: 45.55 kB / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.002046, allocations: 0 / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.002079, allocations: 0 / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.002127, allocations: 0 / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.00236, allocations: 21.02 kB / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.09e-05/0.002451, allocations: 7.938 kB / 0.6192 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.002501, allocations: 4 kB / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.002557, allocations: 5.312 kB / 0.6192 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.002612, allocations: 3.984 kB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.00263, allocations: 0 / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.002718, allocations: 23.98 kB / 0.6193 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.002752, allocations: 2.25 kB / 0.6193 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.002785, allocations: 8 kB / 0.6193 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.002921, allocations: 23.95 kB / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002923, allocations: 0 / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002924, allocations: 3.938 kB / 0.6193 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.002929, allocations: 0 / 0.6193 GB, free: 3.863 MB / 0.5294 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.0004894/0.003419, allocations: 288 kB / 0.6196 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.003469, allocations: 9.469 kB / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.003504, allocations: 0.9375 kB / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.003619, allocations: 109.7 kB / 0.6197 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.003629, allocations: 384 / 0.6197 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.003644, allocations: 384 / 0.6197 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.003834, allocations: 83.95 kB / 0.6198 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.003844, allocations: 192 / 0.6198 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.003854, allocations: 384 / 0.6198 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.003887, allocations: 8.359 kB / 0.6198 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.003972, allocations: 65.61 kB / 0.6198 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.004332, allocations: 212.5 kB / 0.62 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.004399, allocations: 48.16 kB / 0.6201 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.00443, allocations: 34.62 kB / 0.6201 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.004436, allocations: 3.984 kB / 0.6201 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.004467, allocations: 38.56 kB / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.004468, allocations: 0 / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002191/0.004687, allocations: 110.8 kB / 0.6203 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.004751, allocations: 85.05 kB / 0.6203 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.004857, allocations: 125.7 kB / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.004878, allocations: 29.83 kB / 0.6205 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.00495, allocations: 99.94 kB / 0.6206 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.004963, allocations: 7.953 kB / 0.6206 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.005007, allocations: 25.7 kB / 0.6206 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.005163, allocations: 310.8 kB / 0.6209 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.005207, allocations: 37.69 kB / 0.6209 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.005294, allocations: 88.56 kB / 0.621 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.005425, allocations: 130.1 kB / 0.6212 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.005428, allocations: 4 kB / 0.6212 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000176/0.005604, allocations: 148.8 kB / 0.6213 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.005643, allocations: 33.64 kB / 0.6213 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.005652, allocations: 8.25 kB / 0.6213 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.005671, allocations: 0 / 0.6213 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.005745, allocations: 19.92 kB / 0.6214 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.005754, allocations: 4 kB / 0.6214 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.005823, allocations: 7.953 kB / 0.6214 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.005838, allocations: 4 kB / 0.6214 GB, free: 1.406 MB / 0.5294 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.0001232/0.005961, allocations: 152.4 kB / 0.6215 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.005987, allocations: 3.938 kB / 0.6215 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.006012, allocations: 11.41 kB / 0.6215 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006014, allocations: 4 kB / 0.6215 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006018, allocations: 4 kB / 0.6215 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.00602, allocations: 0 / 0.6215 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.00615, allocations: 105.3 kB / 0.6216 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.006151, allocations: 0 / 0.6216 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.006157, allocations: 7.922 kB / 0.6217 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.00616, allocations: 3.984 kB / 0.6217 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.006185, allocations: 8 kB / 0.6217 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006186, allocations: 0 / 0.6217 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006187, allocations: 0 / 0.6217 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.006347, allocations: 190.9 kB / 0.6218 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.006359, allocations: 7.969 kB / 0.6219 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006371, allocations: 4 kB / 0.6219 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.006424, allocations: 0 / 0.6219 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.006441, allocations: 0 / 0.6219 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006445, allocations: 4 kB / 0.6219 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.006513, allocations: 91.27 kB / 0.6219 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.006513, allocations: 0 / 0.6219 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002435/0.006757, allocations: 8 kB / 0.622 GB, free: 0.7305 MB / 0.5294 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.0001721/0.006929, allocations: 99.33 kB / 0.6221 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.007142, allocations: 142.7 kB / 0.6222 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007144, allocations: 0 / 0.6222 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.007209, allocations: 85.11 kB / 0.6223 GB, free: 368 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.007423, allocations: 7.984 kB / 0.6223 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.007775, allocations: 142.4 kB / 0.6224 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.007846, allocations: 65.53 kB / 0.6225 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.196e-05/0.007928, allocations: 20.47 kB / 0.6225 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.007945, allocations: 12.5 kB / 0.6225 GB, free: 68 kB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.007946, allocations: 0 / 0.6225 GB, free: 68 kB / 0.5294 GB Notification: Performance of Templates: time 0.003197/0.01114, allocations: 0.5452 MB / 0.623 GB, free: 15.54 MB / 0.545 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.780673515051603] Failed to read output from testmodel.py, exit status != 0: 0.019842881709337234 0.034055275 0.028169716 Calling exit ...