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.001146/0.001146, allocations: 93.06 kB / 19.65 MB, free: 280 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.001426/0.001426, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 0.983/0.983, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8451/0.8451, allocations: 154.8 MB / 414.7 MB, free: 0.4961 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.403e-06/1.403e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.918e-05, allocations: 7.234 kB / 0.5206 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001061/0.00108, allocations: 0.6039 MB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.001295, allocations: 37.09 kB / 0.5212 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.00132, allocations: 0 / 0.5212 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.001358, allocations: 0 / 0.5212 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.001395, allocations: 1.719 kB / 0.5212 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.00161, allocations: 19.97 kB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.335e-05/0.001683, allocations: 0.7656 kB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.001717, allocations: 4 kB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.001756, allocations: 6.219 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.0018, allocations: 0 / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.001815, allocations: 4 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.001889, allocations: 19.98 kB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.00192, allocations: 6.547 kB / 0.5213 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.001943, allocations: 7.938 kB / 0.5213 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.002046, allocations: 29.36 kB / 0.5213 GB, free: 1.168 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.002049, allocations: 4 kB / 0.5213 GB, free: 1.164 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00205, allocations: 0 / 0.5213 GB, free: 1.164 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002053, allocations: 0 / 0.5213 GB, free: 1.164 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.0002757/0.002329, allocations: 375.4 kB / 0.5217 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.002367, allocations: 8.031 kB / 0.5217 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.002402, allocations: 4.938 kB / 0.5217 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.023e-05/0.002453, allocations: 104.6 kB / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.002461, allocations: 0.875 kB / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.00247, allocations: 7.75 kB / 0.5218 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.002572, allocations: 67.95 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.002578, allocations: 192 / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.002587, allocations: 384 / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.002618, allocations: 12.31 kB / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.00265, allocations: 45.61 kB / 0.5219 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.002929, allocations: 272 kB / 0.5222 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.539e-05/0.002974, allocations: 52.7 kB / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.002994, allocations: 37.45 kB / 0.5223 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-06/0.002998, allocations: 0.5 kB / 0.5223 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.00302, allocations: 37.89 kB / 0.5223 GB, free: 4 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.00302, allocations: 0.5625 kB / 0.5223 GB, free: 4 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001697/0.00319, allocations: 127.6 kB / 0.5224 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.003229, allocations: 81.11 kB / 0.5225 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.003316, allocations: 175.4 kB / 0.5227 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.003326, allocations: 29.64 kB / 0.5227 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.003384, allocations: 154.6 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.003393, allocations: 8 kB / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.003423, allocations: 24.31 kB / 0.5229 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.003543, allocations: 0.4884 MB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.003566, allocations: 29.7 kB / 0.5234 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.003622, allocations: 112.2 kB / 0.5235 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.246e-05/0.003715, allocations: 143.1 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.003718, allocations: 1.281 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.003835, allocations: 146.1 kB / 0.5238 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.00386, allocations: 33.7 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.003865, allocations: 2.656 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.003879, allocations: 4 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.003941, allocations: 19.92 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.003947, allocations: 0 / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.004001, allocations: 11.94 kB / 0.5239 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.004014, allocations: 8 kB / 0.5239 GB, free: 14.23 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.9e-05/0.004093, allocations: 185 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.004111, allocations: 15.89 kB / 0.5241 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.004126, allocations: 15.39 kB / 0.5241 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.004129, allocations: 3.984 kB / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.004133, allocations: 0 / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.004136, allocations: 0 / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.004224, allocations: 112.6 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004225, allocations: 0 / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-06/0.004227, allocations: 4.938 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00423, allocations: 7.984 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.004236, allocations: 0.9375 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004237, allocations: 0 / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004238, allocations: 0 / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.004345, allocations: 240.3 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.004352, allocations: 3.938 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.004362, allocations: 0.6562 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.004393, allocations: 4 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.004407, allocations: 5.344 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.00441, allocations: 0 / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.004447, allocations: 135.2 kB / 0.5246 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004448, allocations: 6.375 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001674/0.004615, allocations: 8 kB / 0.5246 GB, free: 13.43 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.0001064/0.004721, allocations: 107.2 kB / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.004846, allocations: 145.3 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004848, allocations: 0 / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.004879, allocations: 92.78 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.005018, allocations: 4 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.005216, allocations: 144 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.005249, allocations: 55.36 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.00528, allocations: 13.94 kB / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.005294, allocations: 8.5 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.005295, allocations: 3.406 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.002078/0.007373, allocations: 0.5649 MB / 0.5257 GB, free: 12.22 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.983508133329451]