Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.068/1.068, allocations: 175.7 MB / 479.1 MB, free: 3.395 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 73.58 kB / 0.6664 GB, free: 10.79 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1654, allocations: 94.54 MB / 0.7587 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001792/0.1672, allocations: 0.5891 MB / 0.7593 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.1674, allocations: 35.89 kB / 0.7593 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.1674, allocations: 0 / 0.7593 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.1674, allocations: 0 / 0.7593 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.1675, allocations: 3.938 kB / 0.7593 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1677, allocations: 15.97 kB / 0.7593 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.1677, allocations: 4 kB / 0.7593 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.1678, allocations: 0 / 0.7593 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.1678, allocations: 4 kB / 0.7594 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.1678, allocations: 7.984 kB / 0.7594 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1679, allocations: 0 / 0.7594 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.201e-05/0.1679, allocations: 19.98 kB / 0.7594 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.168, allocations: 7.938 kB / 0.7594 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.168, allocations: 0 / 0.7594 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1681, allocations: 31.84 kB / 0.7594 GB, free: 300 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1681, allocations: 0 / 0.7594 GB, free: 300 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1681, allocations: 0 / 0.7594 GB, free: 300 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1681, allocations: 0 / 0.7594 GB, free: 300 kB / 0.5606 GB 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.000393/0.1685, allocations: 349.2 kB / 0.7597 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1685, allocations: 12.03 kB / 0.7598 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.1686, allocations: 8.891 kB / 0.7598 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1687, allocations: 172.2 kB / 0.7599 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1687, allocations: 384 / 0.7599 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.1687, allocations: 384 / 0.7599 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1688, allocations: 58.23 kB / 0.76 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1688, allocations: 8.125 kB / 0.76 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1689, allocations: 3.938 kB / 0.76 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.1689, allocations: 4 kB / 0.76 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.1689, allocations: 23.98 kB / 0.76 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1692, allocations: 276.7 kB / 0.7603 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.1693, allocations: 18.58 kB / 0.7603 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.1693, allocations: 4.859 kB / 0.7603 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.1693, allocations: 4.062 kB / 0.7603 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1693, allocations: 30.56 kB / 0.7603 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.1693, allocations: 0 / 0.7603 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000168/0.1695, allocations: 75.33 kB / 0.7604 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.1696, allocations: 81.11 kB / 0.7605 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.1697, allocations: 109.8 kB / 0.7606 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1697, allocations: 25.7 kB / 0.7606 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.1698, allocations: 115.8 kB / 0.7607 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.1698, allocations: 0 / 0.7607 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1698, allocations: 25.67 kB / 0.7608 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1699, allocations: 326.9 kB / 0.7611 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.17, allocations: 8 kB / 0.7611 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.17, allocations: 59.27 kB / 0.7611 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1702, allocations: 134.1 kB / 0.7613 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1702, allocations: 0 / 0.7613 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000163/0.1703, allocations: 119.2 kB / 0.7614 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.1704, allocations: 37.69 kB / 0.7614 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1704, allocations: 4 kB / 0.7614 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1704, allocations: 0 / 0.7614 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.1705, allocations: 12 kB / 0.7614 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1705, allocations: 0 / 0.7614 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.1705, allocations: 19.89 kB / 0.7614 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1705, allocations: 4 kB / 0.7615 GB, free: 13.89 MB / 0.5762 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.0001108/0.1707, allocations: 151.7 kB / 0.7616 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1707, allocations: 4 kB / 0.7616 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.1707, allocations: 7.531 kB / 0.7616 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1707, allocations: 0 / 0.7616 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1707, allocations: 4 kB / 0.7616 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1707, allocations: 0 / 0.7616 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1709, allocations: 157.5 kB / 0.7618 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1709, allocations: 4 kB / 0.7618 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1709, allocations: 0 / 0.7618 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1709, allocations: 0 / 0.7618 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1709, allocations: 4 kB / 0.7618 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1709, allocations: 3.984 kB / 0.7618 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1709, allocations: 0 / 0.7618 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.171, allocations: 165.1 kB / 0.7619 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.1711, allocations: 89.05 kB / 0.762 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1711, allocations: 0 / 0.762 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.1711, allocations: 4 kB / 0.762 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.1712, allocations: 4.031 kB / 0.762 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1712, allocations: 4 kB / 0.762 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.1712, allocations: 91.72 kB / 0.7621 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 0.7621 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002443/0.1715, allocations: 15.94 kB / 0.7621 GB, free: 13.08 MB / 0.5762 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.0001812/0.1716, allocations: 103.2 kB / 0.7622 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.1718, allocations: 83.77 kB / 0.7623 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1718, allocations: 4.062 kB / 0.7623 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1718, allocations: 59.39 kB / 0.7624 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.172, allocations: 3.938 kB / 0.7624 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1723, allocations: 138.7 kB / 0.7625 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1726, allocations: 0.6792 MB / 0.7632 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.1726, allocations: 11.44 kB / 0.7632 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1726, allocations: 0 / 0.7632 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.002334/0.175, allocations: 0.6822 MB / 0.7638 GB, free: 11.24 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.999194025993347] Failed to read output from testmodel.py, exit status != 0: 0.18220540811307728 0.196400759 0.025406969 Calling exit ...