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.001848/0.001848, allocations: 81.5 kB / 19.44 MB, free: 344 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.002613/0.002613, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.413/1.413, allocations: 154.8 MB / 414.3 MB, free: 468 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.643e-06/1.643e-06, allocations: 0 / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.927e-05, allocations: 4.062 kB / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00166/0.001689, allocations: 0.5934 MB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.001931, allocations: 35.89 kB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.00195, allocations: 0.875 kB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.001997, allocations: 1.719 kB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.002034, allocations: 3.938 kB / 0.5205 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.002245, allocations: 11.98 kB / 0.5205 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.002319, allocations: 8.641 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.002356, allocations: 5.391 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.002399, allocations: 4.219 kB / 0.5206 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.002444, allocations: 3.938 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.002461, allocations: 0 / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.002552, allocations: 20.48 kB / 0.5206 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.002582, allocations: 8.734 kB / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.002605, allocations: 0 / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.002719, allocations: 25.44 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002721, allocations: 0 / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002722, allocations: 0 / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.002725, allocations: 3.938 kB / 0.5206 GB, free: 1.52 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.0004507/0.003176, allocations: 379.3 kB / 0.521 GB, free: 1.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.003213, allocations: 12.03 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.003258, allocations: 0.9375 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.00338, allocations: 120.5 kB / 0.5211 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003393, allocations: 3.75 kB / 0.5211 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.003401, allocations: 384 / 0.5211 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.003529, allocations: 63.97 kB / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.003537, allocations: 192 / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.003545, allocations: 384 / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.003577, allocations: 12.36 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.003637, allocations: 41.64 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.004025, allocations: 275.6 kB / 0.5215 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.004108, allocations: 56.7 kB / 0.5215 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.00415, allocations: 37.94 kB / 0.5216 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.00416, allocations: 4.625 kB / 0.5216 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.00419, allocations: 33.95 kB / 0.5216 GB, free: 352 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.004191, allocations: 0 / 0.5216 GB, free: 352 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003624/0.004554, allocations: 127.6 kB / 0.5217 GB, free: 200 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.004613, allocations: 82.56 kB / 0.5218 GB, free: 100 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.004771, allocations: 173.9 kB / 0.522 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.004788, allocations: 25.7 kB / 0.522 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.004887, allocations: 154.6 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-06/0.004893, allocations: 0.9375 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.004948, allocations: 31.36 kB / 0.5222 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002583/0.005206, allocations: 0.4884 MB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.00525, allocations: 30.73 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.005357, allocations: 103.2 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.005508, allocations: 152.4 kB / 0.5229 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00551, allocations: 4 kB / 0.5229 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001806/0.005691, allocations: 142.1 kB / 0.5231 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.005729, allocations: 36.27 kB / 0.5231 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005734, allocations: 0 / 0.5231 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.005753, allocations: 7.984 kB / 0.5231 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.005822, allocations: 12 kB / 0.5231 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.00583, allocations: 8.344 kB / 0.5231 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.005892, allocations: 4 kB / 0.5231 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.005912, allocations: 8 kB / 0.5231 GB, free: 14.58 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.0001431/0.006055, allocations: 193 kB / 0.5233 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.006085, allocations: 11.88 kB / 0.5233 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.006098, allocations: 7.469 kB / 0.5234 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.006099, allocations: 0 / 0.5234 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.006102, allocations: 0 / 0.5234 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.006103, allocations: 0 / 0.5234 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.006258, allocations: 116.6 kB / 0.5235 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006259, allocations: 1.094 kB / 0.5235 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-06/0.006262, allocations: 3.938 kB / 0.5235 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006266, allocations: 4 kB / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.006273, allocations: 0.9375 kB / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006274, allocations: 0 / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006275, allocations: 0.9375 kB / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.00648, allocations: 247.3 kB / 0.5237 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.006492, allocations: 8.594 kB / 0.5237 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006504, allocations: 0 / 0.5237 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.006556, allocations: 5.25 kB / 0.5237 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.006571, allocations: 0 / 0.5237 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.006578, allocations: 4 kB / 0.5237 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.006659, allocations: 137.6 kB / 0.5239 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006659, allocations: 0 / 0.5239 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000235/0.006894, allocations: 8 kB / 0.5239 GB, free: 13.77 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.0001742/0.007068, allocations: 103.2 kB / 0.524 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.007279, allocations: 157.3 kB / 0.5241 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007281, allocations: 0 / 0.5241 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.00735, allocations: 88.8 kB / 0.5242 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.007552, allocations: 4 kB / 0.5242 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.007848, allocations: 148 kB / 0.5243 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.007918, allocations: 62.09 kB / 0.5244 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.007964, allocations: 9.391 kB / 0.5244 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.007979, allocations: 19.75 kB / 0.5244 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.007979, allocations: 0 / 0.5244 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.00328/0.01126, allocations: 0.5655 MB / 0.525 GB, free: 12.56 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: 6.135463217040524]