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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004617/0.004617, allocations: 101 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 196.7 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04238/0.04238, allocations: 9.088 MB / 279 MB, free: 12.1 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 387.5 MB, free: 8.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.205, allocations: 48.15 MB / 435.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01543/0.2204, allocations: 17.41 MB / 453 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008799/0.2293, allocations: 10.09 MB / 463.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.2294, allocations: 0 / 463.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.23, allocations: 303 kB / 463.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.2303, allocations: 151.6 kB / 463.5 MB, free: 2.156 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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.01174/0.2421, allocations: 5.844 MB / 469.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.2423, allocations: 163 kB / 469.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.2423, allocations: 6.781 kB / 469.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2425, allocations: 93.42 kB / 469.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.2426, allocations: 45.5 kB / 469.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2426, allocations: 3.719 kB / 469.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.2541, allocations: 9.029 MB / 478.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.2541, allocations: 19.92 kB / 478.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.2542, allocations: 43.8 kB / 478.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.2594, allocations: 3.493 MB / 482.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2594, allocations: 0 / 482.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2594, allocations: 0 / 482.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2594, allocations: 0 / 482.3 MB, free: 1.949 MB / 350.1 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.001444/0.2609, allocations: 0.7991 MB / 483.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2609, allocations: 16.03 kB / 483.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.261, allocations: 15.83 kB / 483.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2611, allocations: 178.8 kB / 483.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.2611, allocations: 0 / 483.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2611, allocations: 8 kB / 483.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2614, allocations: 109.6 kB / 483.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2614, allocations: 0 / 483.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2615, allocations: 8 kB / 483.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2615, allocations: 7.984 kB / 483.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.2618, allocations: 135.8 kB / 483.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.2623, allocations: 360.6 kB / 483.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2626, allocations: 106.5 kB / 484 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2628, allocations: 96.8 kB / 484.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.2731, allocations: 8.378 MB / 492.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2731, allocations: 34.56 kB / 492.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.2732, allocations: 0 / 492.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006873/0.2738, allocations: 285.6 kB / 492.8 MB, free: 5.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2739, allocations: 55.41 kB / 492.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.274, allocations: 133.6 kB / 493 MB, free: 5.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.274, allocations: 25.7 kB / 493 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.2741, allocations: 96.41 kB / 493.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2741, allocations: 43.31 kB / 493.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.2742, allocations: 29.64 kB / 493.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.2743, allocations: 322.8 kB / 493.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2744, allocations: 75.94 kB / 493.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2746, allocations: 79.95 kB / 493.6 MB, free: 4.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.275, allocations: 168.7 kB / 493.8 MB, free: 4.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.275, allocations: 0 / 493.8 MB, free: 4.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004215/0.2754, allocations: 193.5 kB / 494 MB, free: 4.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2755, allocations: 11.98 kB / 494 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2755, allocations: 0 / 494 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2755, allocations: 3.984 kB / 494 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2756, allocations: 23.98 kB / 494 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2756, allocations: 0 / 494 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2757, allocations: 19.97 kB / 494 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2758, allocations: 8 kB / 494 MB, free: 4.406 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.552e-05/0.2759, allocations: 129.6 kB / 494.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2759, allocations: 11.81 kB / 494.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.2764, allocations: 214.3 kB / 494.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2764, allocations: 8 kB / 494.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2764, allocations: 0 / 494.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2764, allocations: 3.984 kB / 494.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2766, allocations: 217.4 kB / 494.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2766, allocations: 0 / 494.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2768, allocations: 27.91 kB / 494.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2768, allocations: 4 kB / 494.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.2768, allocations: 4 kB / 494.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2768, allocations: 0 / 494.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2768, allocations: 0 / 494.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.2773, allocations: 299.6 kB / 494.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.2773, allocations: 97 kB / 495 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2774, allocations: 0 / 495 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2775, allocations: 19.97 kB / 495.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2776, allocations: 11.98 kB / 495.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2776, allocations: 0 / 495.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.2776, allocations: 111.2 kB / 495.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2776, allocations: 0 / 495.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001382/0.279, allocations: 0.7183 MB / 495.9 MB, free: 2.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.002876/0.2819, allocations: 1.229 MB / 497.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.2824, allocations: 167.9 kB / 497.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2824, allocations: 0 / 497.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2826, allocations: 103.9 kB / 497.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.283, allocations: 43.83 kB / 497.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.2835, allocations: 267.3 kB / 497.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2837, allocations: 0.7034 MB / 498.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.2838, allocations: 11.94 kB / 498.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2838, allocations: 19.44 kB / 498.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2838, allocations: 0 / 498.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of Templates: time 0.0299/0.3137, allocations: 23.83 MB / 0.51 GB, free: 8.031 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile (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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1)