Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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.0009246/0.0009246, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009904/0.0009904, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9348/0.9348, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03967/0.03967, allocations: 7.522 MB / 267.8 MB, free: 5.895 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 285.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.395e-05, allocations: 2.312 kB / 285.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.1216/0.1217, allocations: 17.43 MB / 303.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.1278, allocations: 10.04 MB / 313.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.128, allocations: 1.5 kB / 313.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.1285, allocations: 241.2 kB / 313.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1288, allocations: 149.9 kB / 313.7 MB, free: 4.461 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.1393, allocations: 5.715 MB / 319.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1396, allocations: 167.1 kB / 319.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.1396, allocations: 14.25 kB / 319.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.1398, allocations: 119.5 kB / 319.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.1399, allocations: 43.89 kB / 319.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1399, allocations: 4 kB / 319.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009337/0.1493, allocations: 6.607 MB / 326.4 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.1493, allocations: 19.91 kB / 326.4 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.1494, allocations: 31.94 kB / 326.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007262/0.1566, allocations: 3.331 MB / 329.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1566, allocations: 0 / 329.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1566, allocations: 8 kB / 329.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1566, allocations: 0 / 329.8 MB, free: 5.23 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001377/0.158, allocations: 0.7224 MB / 330.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1581, allocations: 8.625 kB / 330.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1582, allocations: 15.98 kB / 330.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1583, allocations: 137 kB / 330.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1583, allocations: 0 / 330.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.1583, allocations: 4 kB / 330.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1585, allocations: 85.14 kB / 330.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1585, allocations: 7.047 kB / 330.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1585, allocations: 0 / 330.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1585, allocations: 15.92 kB / 330.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.1585, allocations: 20 kB / 330.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.1588, allocations: 205.8 kB / 331 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/0.1589, allocations: 78.48 kB / 331.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.1589, allocations: 24.86 kB / 331.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006914/0.1658, allocations: 3.56 MB / 334.6 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1658, allocations: 38.55 kB / 334.7 MB, free: 220 kB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.1658, allocations: 4 kB / 334.7 MB, free: 216 kB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.000165/0.166, allocations: 86.27 kB / 334.8 MB, free: 124 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.166, allocations: 51.41 kB / 334.8 MB, free: 60 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.1664, allocations: 140.7 kB / 334.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1664, allocations: 29.64 kB / 335 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1664, allocations: 84.14 kB / 335.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1664, allocations: 47.56 kB / 335.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.1665, allocations: 33.64 kB / 335.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.1665, allocations: 326.8 kB / 335.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.1666, allocations: 8 kB / 335.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.1666, allocations: 34.95 kB / 335.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.1666, allocations: 42.89 kB / 335.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1666, allocations: 0 / 335.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.961e-05/0.1667, allocations: 78.83 kB / 335.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1667, allocations: 8 kB / 335.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1668, allocations: 0 / 335.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1668, allocations: 0 / 335.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.1668, allocations: 23.92 kB / 335.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.1668, allocations: 0 / 335.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.1669, allocations: 16.02 kB / 335.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1669, allocations: 4 kB / 335.7 MB, free: 15.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * 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: 0 * Record equations: 1 * 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 5.866e-05/0.1669, allocations: 117.7 kB / 335.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.167, allocations: 7.984 kB / 335.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.1671, allocations: 98.61 kB / 335.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1671, allocations: 4 kB / 335.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.1671, allocations: 3.984 kB / 335.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1671, allocations: 0 / 335.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1672, allocations: 107.1 kB / 336 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1672, allocations: 0 / 336 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1673, allocations: 27.92 kB / 336 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1673, allocations: 0 / 336 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1673, allocations: 0 / 336 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1673, allocations: 0 / 336 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1673, allocations: 0 / 336 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1674, allocations: 175.4 kB / 336.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.1674, allocations: 19.88 kB / 336.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1674, allocations: 4 kB / 336.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.1675, allocations: 8.672 kB / 336.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1675, allocations: 11.98 kB / 336.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1675, allocations: 4.609 kB / 336.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.201e-05/0.1676, allocations: 27.84 kB / 336.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1676, allocations: 3.938 kB / 336.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001288/0.1688, allocations: 0.7474 MB / 337 MB, free: 13.75 MB / 298.7 MB 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002392/0.1712, allocations: 1.393 MB / 338.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1714, allocations: 78.97 kB / 338.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1714, allocations: 0 / 338.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.1714, allocations: 62.53 kB / 338.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1716, allocations: 54.38 kB / 338.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.1723, allocations: 263.2 kB / 338.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.1724, allocations: 63.34 kB / 338.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.1724, allocations: 15.06 kB / 338.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.1725, allocations: 83.34 kB / 339 MB, free: 11.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1725, allocations: 0 / 339 MB, free: 11.73 MB / 298.7 MB Notification: Performance of Templates: time 0.03161/0.2041, allocations: 28.09 MB / 367.1 MB, free: 15.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7911150688305497]