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.001895/0.001895, allocations: 88.72 kB / 19.44 MB, free: 352 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.002571/0.002571, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.191 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.249/1.249, allocations: 154.6 MB / 414.1 MB, free: 0.5664 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 1.813e-06/1.813e-06, allocations: 0 / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.188e-05, allocations: 7.172 kB / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001861/0.001893, allocations: 0.5993 MB / 0.5203 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002557/0.002149, allocations: 32.92 kB / 0.5203 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.002173, allocations: 4 kB / 0.5203 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.002216, allocations: 5.109 kB / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.002251, allocations: 0 / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.002482, allocations: 16.53 kB / 0.5203 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.002555, allocations: 8 kB / 0.5203 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.0026, allocations: 1.031 kB / 0.5203 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.002637, allocations: 4 kB / 0.5203 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.002679, allocations: 0 / 0.5203 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.002694, allocations: 1.562 kB / 0.5203 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.002781, allocations: 19.97 kB / 0.5204 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.002814, allocations: 5.422 kB / 0.5204 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.002842, allocations: 0 / 0.5204 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.002965, allocations: 37.08 kB / 0.5204 GB, free: 1.766 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002967, allocations: 0 / 0.5204 GB, free: 1.766 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002968, allocations: 0 / 0.5204 GB, free: 1.766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.002972, allocations: 0.6875 kB / 0.5204 GB, free: 1.766 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.0003899/0.003362, allocations: 276 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.003407, allocations: 13.31 kB / 0.5207 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.003458, allocations: 0.9375 kB / 0.5207 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.003573, allocations: 109.8 kB / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.003586, allocations: 384 / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.003596, allocations: 1.656 kB / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.003757, allocations: 79.95 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.003766, allocations: 192 / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.003777, allocations: 5.156 kB / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.003808, allocations: 8.359 kB / 0.5209 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.003886, allocations: 58.41 kB / 0.5209 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.004242, allocations: 212.5 kB / 0.5211 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.905e-05/0.004321, allocations: 54.92 kB / 0.5212 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.004364, allocations: 34.62 kB / 0.5212 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.004373, allocations: 0 / 0.5212 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.004407, allocations: 30.56 kB / 0.5212 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.004408, allocations: 0 / 0.5212 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002621/0.00467, allocations: 130.7 kB / 0.5214 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.004739, allocations: 81.64 kB / 0.5214 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.004863, allocations: 117.8 kB / 0.5216 GB, free: 396 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.004885, allocations: 26.2 kB / 0.5216 GB, free: 364 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.004967, allocations: 108.4 kB / 0.5217 GB, free: 252 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.004976, allocations: 5.047 kB / 0.5217 GB, free: 248 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.005025, allocations: 21.72 kB / 0.5217 GB, free: 220 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.005224, allocations: 318.8 kB / 0.522 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.00527, allocations: 38.39 kB / 0.522 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.005383, allocations: 88.5 kB / 0.5221 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.00554, allocations: 129.2 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.005545, allocations: 4 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002155/0.005761, allocations: 159.6 kB / 0.5224 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.005804, allocations: 33.7 kB / 0.5224 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.00581, allocations: 0 / 0.5224 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.005831, allocations: 4.656 kB / 0.5224 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.00591, allocations: 15.94 kB / 0.5225 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005916, allocations: 1.562 kB / 0.5225 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.005987, allocations: 4 kB / 0.5225 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.006006, allocations: 11.98 kB / 0.5225 GB, free: 15.32 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.0001295/0.006136, allocations: 146.7 kB / 0.5226 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.00617, allocations: 11.89 kB / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.112e-05/0.006181, allocations: 3.469 kB / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006183, allocations: 0 / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.006186, allocations: 4 kB / 0.5226 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006189, allocations: 0 / 0.5226 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.00637, allocations: 109.3 kB / 0.5227 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006371, allocations: 0 / 0.5227 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-06/0.006377, allocations: 7.875 kB / 0.5227 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006379, allocations: 2.438 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.006386, allocations: 0 / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006387, allocations: 4 kB / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006388, allocations: 0 / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.006584, allocations: 187 kB / 0.5229 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.006596, allocations: 7.938 kB / 0.5229 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.006612, allocations: 5.047 kB / 0.5229 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.006673, allocations: 0 / 0.5229 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.006695, allocations: 4 kB / 0.5229 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.0067, allocations: 0.9688 kB / 0.523 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.901e-05/0.006769, allocations: 91.27 kB / 0.523 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006769, allocations: 0 / 0.523 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002618/0.007031, allocations: 9.062 kB / 0.523 GB, free: 14.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.000333/0.007364, allocations: 104 kB / 0.5231 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.00757, allocations: 145.4 kB / 0.5233 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007572, allocations: 0 / 0.5233 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.007646, allocations: 93.09 kB / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.007866, allocations: 0 / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.008199, allocations: 141.3 kB / 0.5235 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.103e-05/0.00828, allocations: 63.34 kB / 0.5236 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.688e-05/0.008377, allocations: 11.98 kB / 0.5236 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.008395, allocations: 8.5 kB / 0.5236 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.008395, allocations: 0 / 0.5236 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.003419/0.01181, allocations: 0.5751 MB / 0.5241 GB, free: 13.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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.927551398985088]