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.001003/0.001003, 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.0009627/0.0009627, allocations: 169 kB / 23.02 MB, free: 1.551 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.9001/0.9001, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.034e-06/2.034e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.366e-05, allocations: 3.859 kB / 0.5204 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001731/0.001764, allocations: 0.6039 MB / 0.521 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002468/0.002011, allocations: 33.11 kB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.002034, allocations: 0.7656 kB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.002079, allocations: 0 / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.002125, allocations: 4.625 kB / 0.521 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.002381, allocations: 17.73 kB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.002467, allocations: 8.75 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.002511, allocations: 0 / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.002551, allocations: 3.938 kB / 0.521 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.002604, allocations: 5.625 kB / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.002623, allocations: 0 / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.002715, allocations: 19.97 kB / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.002753, allocations: 7.984 kB / 0.5211 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.002777, allocations: 4 kB / 0.5211 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.002898, allocations: 29.19 kB / 0.5211 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002901, allocations: 3.938 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.002901, allocations: 0 / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.002906, allocations: 0.625 kB / 0.5211 GB, free: 1.438 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.0003519/0.003258, allocations: 370.1 kB / 0.5215 GB, free: 1.031 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.003303, allocations: 16.77 kB / 0.5215 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.003347, allocations: 0.9375 kB / 0.5215 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.00342, allocations: 106.1 kB / 0.5216 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.003433, allocations: 4.375 kB / 0.5216 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.003447, allocations: 4.312 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.003583, allocations: 69.11 kB / 0.5216 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.003597, allocations: 4.172 kB / 0.5216 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.003606, allocations: 384 / 0.5216 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.003643, allocations: 4.375 kB / 0.5217 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.003688, allocations: 45.27 kB / 0.5217 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.004037, allocations: 272 kB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.836e-05/0.004105, allocations: 68.62 kB / 0.522 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.004132, allocations: 33.39 kB / 0.5221 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.004137, allocations: 0 / 0.5221 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.004165, allocations: 37.45 kB / 0.5221 GB, free: 276 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.004166, allocations: 0 / 0.5221 GB, free: 276 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001921/0.004358, allocations: 118.8 kB / 0.5222 GB, free: 132 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.0044, allocations: 85.61 kB / 0.5223 GB, free: 28 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.004523, allocations: 178.4 kB / 0.5225 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.004536, allocations: 25.7 kB / 0.5225 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.004601, allocations: 151.2 kB / 0.5226 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.004608, allocations: 4.969 kB / 0.5226 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.004651, allocations: 31.36 kB / 0.5227 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.00479, allocations: 496.1 kB / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.004825, allocations: 35.16 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.004893, allocations: 103.2 kB / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.005007, allocations: 151.4 kB / 0.5234 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00501, allocations: 0 / 0.5234 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001593/0.005169, allocations: 151.5 kB / 0.5236 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.005202, allocations: 31.11 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.00521, allocations: 4 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.005229, allocations: 5.562 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.0053, allocations: 12 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.005308, allocations: 4 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.005378, allocations: 7.938 kB / 0.5236 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.005395, allocations: 8 kB / 0.5236 GB, free: 14.5 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.044e-05/0.005486, allocations: 191.1 kB / 0.5238 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.005516, allocations: 12.83 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.005543, allocations: 7.062 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.005545, allocations: 0 / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.005552, allocations: 4.641 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005555, allocations: 0 / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.00568, allocations: 125.4 kB / 0.5239 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005681, allocations: 0 / 0.5239 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.005685, allocations: 6.781 kB / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005687, allocations: 0 / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.005694, allocations: 0 / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.005696, allocations: 0 / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005697, allocations: 0 / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.005844, allocations: 247.3 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.005855, allocations: 3.938 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.005898, allocations: 7.125 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.005944, allocations: 0 / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.00596, allocations: 0 / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.005968, allocations: 11.98 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.006014, allocations: 127.2 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006014, allocations: 0 / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001612/0.006175, allocations: 8 kB / 0.5243 GB, free: 13.7 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.000132/0.006307, allocations: 105 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.006456, allocations: 142.4 kB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006458, allocations: 3.219 kB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.00649, allocations: 92.8 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.00665, allocations: 4.516 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.006905, allocations: 139.9 kB / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.813e-05/0.006943, allocations: 59.34 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.006978, allocations: 11.64 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.006994, allocations: 16.44 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.006995, allocations: 0 / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.002707/0.009701, allocations: 0.5722 MB / 0.5254 GB, free: 12.49 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: 4.004687123931944]