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.001562/0.001562, allocations: 106 kB / 16.35 MB, free: 5.824 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.001855/0.001856, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04559/0.04559, allocations: 9.103 MB / 279.6 MB, free: 2.957 MB / 222.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.001535/0.001535, allocations: 59.91 kB / 339.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 48.14 MB / 387.6 MB, free: 51.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01783/0.3146, allocations: 17.41 MB / 405 MB, free: 38.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007902/0.3225, allocations: 10.09 MB / 415.1 MB, free: 30.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3227, allocations: 1.375 kB / 415.1 MB, free: 30.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.3235, allocations: 280.7 kB / 415.4 MB, free: 30.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.3238, allocations: 136.3 kB / 415.5 MB, free: 30.18 MB / 318.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.01536/0.3392, allocations: 5.574 MB / 421.1 MB, free: 25.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.3394, allocations: 151.3 kB / 421.2 MB, free: 25.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.3395, allocations: 13.39 kB / 421.3 MB, free: 25.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.3397, allocations: 79.58 kB / 421.3 MB, free: 25.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.3398, allocations: 55.72 kB / 421.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3398, allocations: 4 kB / 421.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/0.3526, allocations: 9.018 MB / 430.4 MB, free: 16.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.3527, allocations: 19.92 kB / 430.4 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.3528, allocations: 43.8 kB / 430.5 MB, free: 16.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008366/0.3611, allocations: 3.496 MB / 434 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3612, allocations: 0 / 434 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3612, allocations: 0 / 434 MB, free: 13.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3612, allocations: 0 / 434 MB, free: 13.02 MB / 318.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.001409/0.3626, allocations: 0.7921 MB / 434.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3627, allocations: 12.03 kB / 434.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3627, allocations: 15.81 kB / 434.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/0.3628, allocations: 184.3 kB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3628, allocations: 0.75 kB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3629, allocations: 8 kB / 435 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.3631, allocations: 113.5 kB / 435.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3632, allocations: 0 / 435.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3632, allocations: 8 kB / 435.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3632, allocations: 0 / 435.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.3635, allocations: 139.9 kB / 435.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.3639, allocations: 352.6 kB / 435.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.3641, allocations: 110.5 kB / 435.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.3643, allocations: 96.8 kB / 435.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00901/0.3733, allocations: 8.383 MB / 444.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3734, allocations: 36.25 kB / 444.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.3734, allocations: 0 / 444.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007031/0.3741, allocations: 279 kB / 444.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3742, allocations: 63.33 kB / 444.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.3743, allocations: 135.3 kB / 444.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3743, allocations: 29.64 kB / 444.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.3743, allocations: 92.42 kB / 444.8 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3744, allocations: 47.3 kB / 444.8 MB, free: 436 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.3744, allocations: 25.7 kB / 444.9 MB, free: 404 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.3745, allocations: 318.8 kB / 445.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3747, allocations: 79.95 kB / 445.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3749, allocations: 79.94 kB / 445.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.3753, allocations: 161.9 kB / 445.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3753, allocations: 0 / 445.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004346/0.3757, allocations: 196 kB / 445.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3757, allocations: 8 kB / 445.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3758, allocations: 0 / 445.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3758, allocations: 3.984 kB / 445.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3759, allocations: 27.91 kB / 445.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.376, allocations: 0 / 445.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3761, allocations: 19.89 kB / 445.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3761, allocations: 7.984 kB / 445.7 MB, free: 15.49 MB / 334.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 0.0001018/0.3762, allocations: 125.8 kB / 445.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.3763, allocations: 7.906 kB / 445.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.3768, allocations: 214.3 kB / 446.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3768, allocations: 4.875 kB / 446.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3768, allocations: 4 kB / 446.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3768, allocations: 0 / 446.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3771, allocations: 221.3 kB / 446.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3771, allocations: 4 kB / 446.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3773, allocations: 19.97 kB / 446.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3773, allocations: 4.688 kB / 446.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3773, allocations: 4 kB / 446.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3773, allocations: 0 / 446.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3773, allocations: 0 / 446.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.3778, allocations: 311.1 kB / 446.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.3779, allocations: 97 kB / 446.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3779, allocations: 1.812 kB / 446.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3781, allocations: 11.98 kB / 446.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3781, allocations: 15.98 kB / 446.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3781, allocations: 0 / 446.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.3782, allocations: 110.7 kB / 446.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3782, allocations: 0 / 446.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002131/0.3804, allocations: 0.7183 MB / 447.6 MB, free: 13.55 MB / 334.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.003168/0.3835, allocations: 1.226 MB / 448.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.3841, allocations: 175.8 kB / 449 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3841, allocations: 0 / 449 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.3843, allocations: 95.94 kB / 449.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3848, allocations: 37.45 kB / 449.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.3853, allocations: 267.2 kB / 449.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.3857, allocations: 0.7001 MB / 450.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.3857, allocations: 10.08 kB / 450.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.3858, allocations: 23.42 kB / 450.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3858, allocations: 0 / 450.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of Templates: time 0.03342/0.4192, allocations: 23.82 MB / 473.9 MB, free: 3.207 MB / 350.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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1)