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.002274/0.002274, allocations: 93.47 kB / 19.44 MB, free: 336 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.002799/0.002799, allocations: 169.2 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.307/1.307, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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 4.508e-06/4.508e-06, allocations: 4 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.963e-05, allocations: 4.562 kB / 0.5197 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001675/0.001704, allocations: 0.5981 MB / 0.5203 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.001934, allocations: 36.31 kB / 0.5203 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.001953, allocations: 5.625 kB / 0.5203 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.001999, allocations: 0 / 0.5203 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.002034, allocations: 4 kB / 0.5203 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.00223, allocations: 7.984 kB / 0.5203 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.002297, allocations: 4.75 kB / 0.5203 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.002329, allocations: 4 kB / 0.5203 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.002367, allocations: 5.391 kB / 0.5203 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.002412, allocations: 7.984 kB / 0.5203 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.002427, allocations: 0 / 0.5203 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.002514, allocations: 19.92 kB / 0.5204 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.00254, allocations: 1.344 kB / 0.5204 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.002566, allocations: 7.938 kB / 0.5204 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.002675, allocations: 27.95 kB / 0.5204 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.002677, allocations: 5.906 kB / 0.5204 GB, free: 1.789 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002678, allocations: 0 / 0.5204 GB, free: 1.789 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002682, allocations: 0 / 0.5204 GB, free: 1.789 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.0006697/0.003351, allocations: 374 kB / 0.5208 GB, free: 1.379 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.003387, allocations: 8.031 kB / 0.5208 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.003439, allocations: 7.031 kB / 0.5208 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/0.003539, allocations: 108.6 kB / 0.5209 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.003554, allocations: 4.375 kB / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.003565, allocations: 4.359 kB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.003692, allocations: 63.95 kB / 0.5209 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.003704, allocations: 4.125 kB / 0.5209 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.003712, allocations: 4.906 kB / 0.521 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.003741, allocations: 4.875 kB / 0.521 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.0038, allocations: 42.62 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.004169, allocations: 267.7 kB / 0.5213 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.004254, allocations: 60.69 kB / 0.5213 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.004293, allocations: 38.17 kB / 0.5213 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.0043, allocations: 0 / 0.5213 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.004359, allocations: 42.48 kB / 0.5214 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.00436, allocations: 0 / 0.5214 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002292/0.004589, allocations: 123.8 kB / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.004648, allocations: 85.05 kB / 0.5216 GB, free: 384 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.004796, allocations: 182 kB / 0.5218 GB, free: 184 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.004817, allocations: 27.23 kB / 0.5218 GB, free: 152 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.004912, allocations: 146.6 kB / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.004923, allocations: 11.98 kB / 0.5219 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.004975, allocations: 27.38 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.005228, allocations: 493.2 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.005279, allocations: 33.69 kB / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.005388, allocations: 107.1 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.005538, allocations: 148.4 kB / 0.5227 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.005541, allocations: 0 / 0.5227 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001931/0.005734, allocations: 153.5 kB / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.005773, allocations: 33.7 kB / 0.5229 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.005778, allocations: 4 kB / 0.5229 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.005798, allocations: 8 kB / 0.5229 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.005873, allocations: 11.94 kB / 0.5229 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.005881, allocations: 4 kB / 0.5229 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.005945, allocations: 7.984 kB / 0.5229 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.00596, allocations: 4 kB / 0.5229 GB, free: 14.85 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.0001367/0.006097, allocations: 193.2 kB / 0.5231 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.006128, allocations: 15.83 kB / 0.5231 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-06/0.006137, allocations: 3.469 kB / 0.5231 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.006138, allocations: 0 / 0.5231 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.006141, allocations: 0 / 0.5231 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.006143, allocations: 4 kB / 0.5231 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.006304, allocations: 116.6 kB / 0.5232 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.006305, allocations: 0 / 0.5232 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-06/0.006308, allocations: 3.938 kB / 0.5232 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006309, allocations: 1.5 kB / 0.5232 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.006316, allocations: 0 / 0.5232 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006317, allocations: 0 / 0.5232 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006318, allocations: 4 kB / 0.5233 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.006524, allocations: 240.9 kB / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.006537, allocations: 7.938 kB / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006549, allocations: 0 / 0.5235 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.006601, allocations: 4.484 kB / 0.5235 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.006618, allocations: 8.656 kB / 0.5235 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.006622, allocations: 0 / 0.5235 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.823e-05/0.006701, allocations: 131.8 kB / 0.5236 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006701, allocations: 0 / 0.5236 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002329/0.006934, allocations: 12.5 kB / 0.5236 GB, free: 14.04 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.0001773/0.007111, allocations: 106 kB / 0.5237 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.00731, allocations: 142.4 kB / 0.5239 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.007311, allocations: 0 / 0.5239 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.007385, allocations: 91.23 kB / 0.524 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.007585, allocations: 8 kB / 0.524 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.007864, allocations: 140 kB / 0.5241 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.007936, allocations: 63.34 kB / 0.5242 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.007983, allocations: 13.41 kB / 0.5242 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.007998, allocations: 8.5 kB / 0.5242 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.007999, allocations: 0 / 0.5242 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.003342/0.01134, allocations: 0.5798 MB / 0.5248 GB, free: 12.83 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: 5.901491947006434]