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.001589/0.001589, allocations: 92.22 kB / 19.65 MB, free: 276 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.001269/0.001269, allocations: 173 kB / 23.02 MB, free: 1.547 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8328/0.8328, allocations: 154.9 MB / 414.8 MB, free: 424 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.773e-06/1.773e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.845e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001833/0.001862, allocations: 0.6 MB / 0.5213 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.002141, allocations: 37.77 kB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.002164, allocations: 0 / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.00221, allocations: 0 / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.002254, allocations: 1.625 kB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.002519, allocations: 17.08 kB / 0.5214 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.002608, allocations: 8.75 kB / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.002646, allocations: 0 / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.002685, allocations: 4.594 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.002737, allocations: 4.766 kB / 0.5214 GB, free: 1.113 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.002754, allocations: 0.5 kB / 0.5214 GB, free: 1.113 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.002846, allocations: 21 kB / 0.5214 GB, free: 1.094 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.00288, allocations: 11.92 kB / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.002904, allocations: 0 / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.003025, allocations: 29.12 kB / 0.5215 GB, free: 1.055 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003028, allocations: 0 / 0.5215 GB, free: 1.055 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003028, allocations: 0 / 0.5215 GB, free: 1.055 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.003034, allocations: 0 / 0.5215 GB, free: 1.055 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.0003758/0.00341, allocations: 375.9 kB / 0.5218 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.003454, allocations: 12.02 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.003502, allocations: 4.938 kB / 0.5218 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.003575, allocations: 104.6 kB / 0.5219 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003588, allocations: 6.094 kB / 0.5219 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.0036, allocations: 4.375 kB / 0.5219 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.003736, allocations: 67.89 kB / 0.522 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003745, allocations: 192 / 0.522 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.003757, allocations: 4.359 kB / 0.522 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.003793, allocations: 13.94 kB / 0.522 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.003841, allocations: 41.62 kB / 0.5221 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.004175, allocations: 268 kB / 0.5223 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.004256, allocations: 64.62 kB / 0.5224 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.004284, allocations: 38.2 kB / 0.5224 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.004288, allocations: 0 / 0.5224 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.004321, allocations: 34.86 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.004322, allocations: 0 / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001983/0.004521, allocations: 126.8 kB / 0.5226 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.004566, allocations: 82.39 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.004673, allocations: 173.9 kB / 0.5228 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.004685, allocations: 25.7 kB / 0.5228 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.004751, allocations: 151.6 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.00476, allocations: 4 kB / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.004803, allocations: 31.36 kB / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.00495, allocations: 499 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.004987, allocations: 37.69 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.005062, allocations: 95.2 kB / 0.5236 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.005172, allocations: 149.9 kB / 0.5238 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005174, allocations: 0.8438 kB / 0.5238 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001596/0.005334, allocations: 146.8 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.005368, allocations: 37.69 kB / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.005374, allocations: 0 / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.00539, allocations: 5.031 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.005463, allocations: 12 kB / 0.524 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.005473, allocations: 4.938 kB / 0.524 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.005543, allocations: 7.938 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.005558, allocations: 4 kB / 0.524 GB, free: 14.12 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 9.558e-05/0.005653, allocations: 197.2 kB / 0.5242 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.00568, allocations: 11.89 kB / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.005694, allocations: 3.469 kB / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005696, allocations: 4 kB / 0.5242 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.005703, allocations: 4 kB / 0.5242 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.005705, allocations: 3.938 kB / 0.5242 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.005835, allocations: 120.7 kB / 0.5243 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005837, allocations: 2.75 kB / 0.5243 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-06/0.00584, allocations: 3.938 kB / 0.5243 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.005842, allocations: 0 / 0.5243 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.005852, allocations: 4 kB / 0.5243 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.005854, allocations: 0 / 0.5243 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.005855, allocations: 0 / 0.5243 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.006004, allocations: 239.3 kB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.006018, allocations: 8.469 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.00603, allocations: 1.312 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.006086, allocations: 4 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.006102, allocations: 7.984 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.006108, allocations: 3.984 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.864e-05/0.006207, allocations: 123.8 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.006207, allocations: 4.5 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002138/0.006421, allocations: 8 kB / 0.5247 GB, free: 13.31 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.0001941/0.006615, allocations: 109 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.006814, allocations: 140.9 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.006816, allocations: 4 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.00685, allocations: 92.73 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.007014, allocations: 0 / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.007306, allocations: 150.4 kB / 0.5252 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.007342, allocations: 55.34 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.007382, allocations: 11.98 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.007399, allocations: 8.5 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.0074, allocations: 2.562 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.002531/0.009931, allocations: 0.6003 MB / 0.5258 GB, free: 12.08 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.9079396408051252]