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.0009564/0.0009564, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009874/0.0009874, allocations: 181 kB / 23.36 MB, free: 1.133 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.137/1.137, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8433/0.8433, allocations: 154.9 MB / 415.1 MB, free: 240 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 1.343e-06/1.343e-06, allocations: 0 / 480.5 MB, free: 6.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.961e-05, allocations: 2.312 kB / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001792/0.001812, allocations: 0.654 MB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.002052, allocations: 31.89 kB / 481.1 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.002071, allocations: 0 / 481.1 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.002102, allocations: 0.625 kB / 481.1 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.002142, allocations: 5.938 kB / 481.2 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.002336, allocations: 11.97 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.002412, allocations: 9.094 kB / 481.2 MB, free: 5.758 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.002453, allocations: 9.531 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.002491, allocations: 0 / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.002536, allocations: 2.875 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.002552, allocations: 4 kB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.002654, allocations: 15.98 kB / 481.2 MB, free: 5.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.002689, allocations: 8.531 kB / 481.2 MB, free: 5.723 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.002709, allocations: 5.297 kB / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.002814, allocations: 26.17 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002815, allocations: 0 / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.002816, allocations: 0 / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.00282, allocations: 0.6562 kB / 481.2 MB, free: 5.695 MB / 442.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.000258/0.003078, allocations: 254.1 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003115, allocations: 13.28 kB / 481.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.003142, allocations: 0.9375 kB / 481.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.003214, allocations: 105.8 kB / 481.6 MB, free: 5.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.003223, allocations: 7.719 kB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.00323, allocations: 384 / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.003339, allocations: 67.61 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.003349, allocations: 4.172 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.003356, allocations: 384 / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.003385, allocations: 8.375 kB / 481.7 MB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.517e-05/0.00342, allocations: 37.64 kB / 481.7 MB, free: 5.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.003685, allocations: 178.2 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.003733, allocations: 44.28 kB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.003756, allocations: 39.41 kB / 482 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-06/0.003759, allocations: 0.7656 kB / 482 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.003788, allocations: 39.44 kB / 482 MB, free: 4.797 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.003789, allocations: 0 / 482 MB, free: 4.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.003928, allocations: 115.7 kB / 482.1 MB, free: 4.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.003969, allocations: 81.11 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.004045, allocations: 115.6 kB / 482.3 MB, free: 4.438 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.004056, allocations: 25.7 kB / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.004107, allocations: 109 kB / 482.5 MB, free: 4.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.004114, allocations: 4.625 kB / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.004153, allocations: 29.59 kB / 482.5 MB, free: 4.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.004255, allocations: 315.5 kB / 482.8 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.004279, allocations: 33.69 kB / 482.8 MB, free: 3.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.004334, allocations: 82.02 kB / 482.9 MB, free: 3.793 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.004432, allocations: 128.6 kB / 483 MB, free: 3.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.004434, allocations: 0 / 483 MB, free: 3.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.004571, allocations: 138.4 kB / 483.2 MB, free: 3.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.0046, allocations: 33.7 kB / 483.2 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.004606, allocations: 0.625 kB / 483.2 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.004621, allocations: 4.594 kB / 483.2 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.004678, allocations: 9.203 kB / 483.2 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.004683, allocations: 4.719 kB / 483.2 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.004741, allocations: 7.938 kB / 483.2 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.004754, allocations: 9.203 kB / 483.3 MB, free: 3.41 MB / 442.7 MB 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 8.024e-05/0.004835, allocations: 146.3 kB / 483.4 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.004858, allocations: 8.438 kB / 483.4 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.38e-05/0.004872, allocations: 6.703 kB / 483.4 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004874, allocations: 1.906 kB / 483.4 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004876, allocations: 0 / 483.4 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004879, allocations: 4 kB / 483.4 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.004983, allocations: 65.88 kB / 483.5 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.004985, allocations: 4.984 kB / 483.5 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.004986, allocations: 0.75 kB / 483.5 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.004988, allocations: 0 / 483.5 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.004993, allocations: 0.8438 kB / 483.5 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.004996, allocations: 3.938 kB / 483.5 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004998, allocations: 1.156 kB / 483.5 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.005108, allocations: 183 kB / 483.7 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.005119, allocations: 12.77 kB / 483.7 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.00513, allocations: 5.219 kB / 483.7 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.005185, allocations: 12.47 kB / 483.7 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-06/0.005194, allocations: 1.344 kB / 483.7 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.0052, allocations: 4 kB / 483.7 MB, free: 2.906 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.563e-05/0.005216, allocations: 8.859 kB / 483.7 MB, free: 2.895 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005216, allocations: 0.75 kB / 483.7 MB, free: 2.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.005471, allocations: 8.984 kB / 483.7 MB, free: 2.887 MB / 442.7 MB 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.0001145/0.005585, allocations: 89.48 kB / 483.8 MB, free: 2.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.005712, allocations: 141.5 kB / 483.9 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.005716, allocations: 0 / 483.9 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.005754, allocations: 87.38 kB / 484 MB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.005896, allocations: 8 kB / 484 MB, free: 2.516 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.006102, allocations: 143.3 kB / 484.2 MB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.006142, allocations: 60.22 kB / 484.2 MB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.43e-05/0.006166, allocations: 2.219 kB / 484.2 MB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.006223, allocations: 56.22 kB / 484.3 MB, free: 2.211 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.006223, allocations: 2.344 kB / 484.3 MB, free: 2.211 MB / 442.7 MB Notification: Performance of Templates: time 0.002353/0.008576, allocations: 0.5912 MB / 484.9 MB, free: 1.656 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7933491677977145]