Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_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.001374/0.001374, allocations: 80.88 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.001422/0.001422, allocations: 181 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 1.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.029/0.029, allocations: 7.532 MB / 267.8 MB, free: 5.875 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.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 285.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.916e-05, allocations: 6.25 kB / 285.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.1288/0.1289, allocations: 17.26 MB / 303.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009003/0.1379, allocations: 14.15 MB / 317.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1379, allocations: 0 / 317.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009796/0.1389, allocations: 351.2 kB / 317.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.1418, allocations: 1.595 MB / 319.2 MB, free: 15.84 MB / 282.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.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009364/0.1512, allocations: 5.183 MB / 324.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1513, allocations: 155 kB / 324.5 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1514, allocations: 9.969 kB / 324.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1515, allocations: 87.67 kB / 324.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.1515, allocations: 43.89 kB / 324.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1515, allocations: 4 kB / 324.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007217/0.1587, allocations: 6.969 MB / 331.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.1588, allocations: 15.92 kB / 331.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.1588, allocations: 31.92 kB / 331.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.1631, allocations: 3.643 MB / 335.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1631, allocations: 0 / 335.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1631, allocations: 0 / 335.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1631, allocations: 0 / 335.3 MB, free: 15.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001113/0.1642, allocations: 0.7573 MB / 336.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1642, allocations: 12.62 kB / 336.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.1643, allocations: 23.92 kB / 336.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.1644, allocations: 121 kB / 336.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1644, allocations: 4 kB / 336.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1644, allocations: 0 / 336.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1645, allocations: 110.3 kB / 336.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1646, allocations: 0 / 336.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1646, allocations: 4 kB / 336.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1646, allocations: 7.984 kB / 336.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1647, allocations: 148.7 kB / 336.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1648, allocations: 155.1 kB / 336.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.564e-05/0.1649, allocations: 70.91 kB / 336.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.165, allocations: 65.02 kB / 336.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008775/0.1737, allocations: 3.988 MB / 340.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1738, allocations: 34.56 kB / 340.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.393e-06/0.1738, allocations: 0 / 340.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002919/0.174, allocations: 288.5 kB / 341.1 MB, free: 9.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1741, allocations: 51.41 kB / 341.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.1741, allocations: 102.7 kB / 341.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1742, allocations: 25.7 kB / 341.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.1742, allocations: 92.75 kB / 341.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1743, allocations: 126.8 kB / 341.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1743, allocations: 37.69 kB / 341.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.1744, allocations: 330.8 kB / 341.8 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.1744, allocations: 39.58 kB / 341.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.1745, allocations: 69.53 kB / 341.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.1746, allocations: 124.4 kB / 342 MB, free: 8.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1746, allocations: 3.938 kB / 342.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001409/0.1747, allocations: 168.7 kB / 342.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1747, allocations: 7.938 kB / 342.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1747, allocations: 0 / 342.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1748, allocations: 4.688 kB / 342.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.1748, allocations: 27.92 kB / 342.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.1748, allocations: 0 / 342.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.1748, allocations: 19.78 kB / 342.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1749, allocations: 8 kB / 342.3 MB, free: 8.504 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.012e-05/0.1749, allocations: 113.9 kB / 342.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.1749, allocations: 11.98 kB / 342.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.1753, allocations: 450.8 kB / 342.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1753, allocations: 7.984 kB / 342.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.1753, allocations: 0 / 342.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1753, allocations: 3.938 kB / 342.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1755, allocations: 347.2 kB / 343.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1755, allocations: 0 / 343.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.1755, allocations: 7.984 kB / 343.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1755, allocations: 8 kB / 343.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.1755, allocations: 0 / 343.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1755, allocations: 0 / 343.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1755, allocations: 0 / 343.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1756, allocations: 248.1 kB / 343.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.1756, allocations: 23.58 kB / 343.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1757, allocations: 3.938 kB / 343.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.1757, allocations: 4.688 kB / 343.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1757, allocations: 7.922 kB / 343.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1757, allocations: 0 / 343.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.1757, allocations: 50.39 kB / 343.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1757, allocations: 4 kB / 343.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001224/0.177, allocations: 0.8137 MB / 344.4 MB, free: 6.328 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 2 * 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.00223/0.1792, allocations: 1.537 MB / 345.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1793, allocations: 126.3 kB / 346 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1793, allocations: 0 / 346 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.1794, allocations: 35.27 kB / 346.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1796, allocations: 86.81 kB / 346.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.1802, allocations: 328.4 kB / 346.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.1802, allocations: 75.64 kB / 346.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.253e-05/0.1803, allocations: 36.09 kB / 346.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1804, allocations: 99.31 kB / 346.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1804, allocations: 0 / 346.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of Templates: time 0.02903/0.2095, allocations: 32.2 MB / 378.9 MB, free: 3.965 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9360514427535236]