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.0008865/0.0008865, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009042/0.0009042, allocations: 173 kB / 23.49 MB, free: 1.055 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.084/1.084, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7897/0.7897, allocations: 154.6 MB / 414.8 MB, free: 0.6953 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 1.403e-06/1.403e-06, allocations: 0 / 0.5204 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.976e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001847/0.001876, allocations: 0.6123 MB / 0.521 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001908/0.002067, allocations: 33.22 kB / 0.521 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.002085, allocations: 3.938 kB / 0.521 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.002108, allocations: 0.5 kB / 0.521 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.002133, allocations: 4.656 kB / 0.521 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.002284, allocations: 14.02 kB / 0.521 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.002341, allocations: 0 / 0.521 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.878e-05/0.002369, allocations: 4 kB / 0.521 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.002395, allocations: 3.984 kB / 0.521 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.002427, allocations: 4 kB / 0.5211 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.002438, allocations: 0 / 0.5211 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.002508, allocations: 25.25 kB / 0.5211 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.002527, allocations: 0 / 0.5211 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.002547, allocations: 7.938 kB / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.327e-05/0.00263, allocations: 25.38 kB / 0.5211 GB, free: 1.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.002632, allocations: 4 kB / 0.5211 GB, free: 1.766 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.002633, allocations: 0 / 0.5211 GB, free: 1.766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.002637, allocations: 3.938 kB / 0.5211 GB, free: 1.762 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.0002718/0.002909, allocations: 375 kB / 0.5215 GB, free: 1.352 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.002942, allocations: 8.031 kB / 0.5215 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.002974, allocations: 4.938 kB / 0.5215 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.684e-05/0.00303, allocations: 105.6 kB / 0.5216 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.003039, allocations: 4.375 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.003045, allocations: 1.375 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.003137, allocations: 71.94 kB / 0.5217 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-06/0.003141, allocations: 192 / 0.5217 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.003147, allocations: 0.875 kB / 0.5217 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.003173, allocations: 13.39 kB / 0.5217 GB, free: 1.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.003213, allocations: 45.56 kB / 0.5217 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.003467, allocations: 272 kB / 0.522 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.467e-05/0.003512, allocations: 53.77 kB / 0.522 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.003537, allocations: 37.45 kB / 0.5221 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-06/0.00354, allocations: 0.625 kB / 0.5221 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.003564, allocations: 37.39 kB / 0.5221 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.003565, allocations: 4.5 kB / 0.5221 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.003725, allocations: 128.1 kB / 0.5222 GB, free: 456 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.003766, allocations: 85.05 kB / 0.5223 GB, free: 352 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.003873, allocations: 169.9 kB / 0.5225 GB, free: 164 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.003888, allocations: 27.52 kB / 0.5225 GB, free: 132 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.003977, allocations: 154.6 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.003988, allocations: 8 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.004027, allocations: 27.38 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.004179, allocations: 496.1 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.00421, allocations: 35.45 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.004289, allocations: 111.5 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.004396, allocations: 143 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004398, allocations: 0 / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000149/0.004547, allocations: 146.8 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.00458, allocations: 36.95 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.004586, allocations: 4 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.004595, allocations: 0 / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.004653, allocations: 19.92 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.004659, allocations: 4.141 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.004729, allocations: 11.94 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.004743, allocations: 8 kB / 0.5236 GB, free: 14.82 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.0001051/0.004848, allocations: 186.3 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.004876, allocations: 14.92 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.00489, allocations: 11.05 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.004892, allocations: 0 / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.004896, allocations: 0 / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004898, allocations: 0 / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.005154, allocations: 112.6 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005155, allocations: 0 / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-06/0.005159, allocations: 11.88 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005161, allocations: 1.5 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.005167, allocations: 3.984 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005168, allocations: 0 / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005169, allocations: 0 / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.00531, allocations: 240.8 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.005319, allocations: 3.938 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005329, allocations: 0 / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.005383, allocations: 4 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.005397, allocations: 9.219 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.005401, allocations: 0 / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.005449, allocations: 131.2 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.00545, allocations: 0.6562 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002875/0.005737, allocations: 8 kB / 0.5244 GB, free: 14.02 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.0001501/0.005887, allocations: 104.4 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.006024, allocations: 148.8 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006025, allocations: 0 / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.006066, allocations: 92.78 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.006298, allocations: 6.438 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.006521, allocations: 140 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.006559, allocations: 55.36 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.006605, allocations: 11.97 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.006618, allocations: 10.28 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/0.006619, allocations: 0 / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.002542/0.009161, allocations: 0.5734 MB / 0.5255 GB, free: 12.82 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.830559615045786]