Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001101/0.001101, allocations: 93.06 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.001022/0.001022, allocations: 169 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 0.9823/0.9823, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7869/0.7869, allocations: 154.6 MB / 414.5 MB, free: 0.6523 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.259e-05, allocations: 4.953 kB / 0.5204 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002086/0.002119, allocations: 0.6062 MB / 0.521 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.002391, allocations: 35.89 kB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.002416, allocations: 0 / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.002458, allocations: 1.094 kB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.002499, allocations: 0.7656 kB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.002759, allocations: 19.55 kB / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.002854, allocations: 8.75 kB / 0.521 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.002893, allocations: 0 / 0.521 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.002934, allocations: 4 kB / 0.521 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.002985, allocations: 0.875 kB / 0.521 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.003003, allocations: 0 / 0.521 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.0031, allocations: 19.97 kB / 0.5211 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.003137, allocations: 16.03 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.003162, allocations: 0 / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.003289, allocations: 27.91 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.003293, allocations: 0.5625 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003294, allocations: 0.5625 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.003299, allocations: 0 / 0.5211 GB, free: 1.426 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.0003624/0.003662, allocations: 375 kB / 0.5215 GB, free: 1.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.003706, allocations: 12.02 kB / 0.5215 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.003762, allocations: 2.406 kB / 0.5215 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.003842, allocations: 108.6 kB / 0.5216 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.003856, allocations: 384 / 0.5216 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.003868, allocations: 4.312 kB / 0.5216 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.004002, allocations: 68.58 kB / 0.5216 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004011, allocations: 4.125 kB / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.004023, allocations: 4.984 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.004066, allocations: 12.36 kB / 0.5217 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.004115, allocations: 43.58 kB / 0.5217 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.004465, allocations: 264 kB / 0.522 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.457e-05/0.00454, allocations: 68.62 kB / 0.522 GB, free: 352 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.004566, allocations: 33.39 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.00457, allocations: 4.625 kB / 0.5221 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.004594, allocations: 33.39 kB / 0.5221 GB, free: 260 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.004596, allocations: 0.7812 kB / 0.5221 GB, free: 260 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002149/0.004811, allocations: 127.2 kB / 0.5222 GB, free: 108 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.004856, allocations: 78.55 kB / 0.5223 GB, free: 12 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.00498, allocations: 173.9 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.004994, allocations: 29.64 kB / 0.5225 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.005062, allocations: 154.6 kB / 0.5226 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/0.005069, allocations: 0.7812 kB / 0.5226 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.00513, allocations: 35.36 kB / 0.5227 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.005295, allocations: 498.1 kB / 0.5231 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.005334, allocations: 33.69 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.005407, allocations: 103.3 kB / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.00552, allocations: 151.5 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.005523, allocations: 0 / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001735/0.005696, allocations: 146.5 kB / 0.5236 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.005735, allocations: 37.69 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.005741, allocations: 0.9375 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.005758, allocations: 4 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.005824, allocations: 12.88 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.005831, allocations: 4 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.00589, allocations: 12.84 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.005905, allocations: 4 kB / 0.5236 GB, free: 14.48 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.692e-05/0.005982, allocations: 191.4 kB / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.006001, allocations: 11.89 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.006016, allocations: 11.06 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.006018, allocations: 0.6562 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.006021, allocations: 4 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006023, allocations: 0.6562 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.558e-05/0.006109, allocations: 116.6 kB / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006111, allocations: 2.906 kB / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.006112, allocations: 3.938 kB / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006115, allocations: 0 / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.006122, allocations: 4 kB / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006123, allocations: 0 / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006124, allocations: 0 / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.006243, allocations: 243.3 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.006254, allocations: 11.06 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006263, allocations: 0 / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.006295, allocations: 0 / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.006309, allocations: 4 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.006313, allocations: 3.984 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.006353, allocations: 127.2 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006353, allocations: 0 / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001663/0.00652, allocations: 12 kB / 0.5243 GB, free: 13.68 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.0001535/0.006673, allocations: 105 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.006819, allocations: 139 kB / 0.5246 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.006822, allocations: 2.312 kB / 0.5246 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.006853, allocations: 92.8 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.006998, allocations: 4 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.007268, allocations: 143.9 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.007302, allocations: 59.34 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.007344, allocations: 13.39 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.007359, allocations: 10 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/0.007359, allocations: 0 / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.002473/0.009832, allocations: 0.6057 MB / 0.5255 GB, free: 12.45 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6707874960266054]