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.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.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 105 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.001232/0.001232, allocations: 189.4 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.864/1.864, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04851/0.04851, allocations: 9.09 MB / 279.6 MB, free: 2.965 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.001669/0.001669, allocations: 67.91 kB / 339.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3944, allocations: 48.15 MB / 387.6 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02262/0.4171, allocations: 17.3 MB / 404.9 MB, free: 38.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.4309, allocations: 14.27 MB / 419.2 MB, free: 27.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.4312, allocations: 1.188 kB / 419.2 MB, free: 27.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.4327, allocations: 381.1 kB / 419.6 MB, free: 26.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004514/0.4372, allocations: 1.542 MB / 421.1 MB, free: 25.92 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.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.01722/0.4544, allocations: 4.801 MB / 425.9 MB, free: 21.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.4547, allocations: 139.2 kB / 426 MB, free: 20.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.4548, allocations: 13.12 kB / 426 MB, free: 20.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.4549, allocations: 59.67 kB / 426.1 MB, free: 20.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.455, allocations: 51.72 kB / 426.2 MB, free: 20.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.455, allocations: 4 kB / 426.2 MB, free: 20.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01991/0.4749, allocations: 9.837 MB / 436 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.475, allocations: 15.92 kB / 436 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4752, allocations: 51.69 kB / 436.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.4886, allocations: 3.808 MB / 439.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4887, allocations: 0 / 439.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4887, allocations: 0 / 439.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.4887, allocations: 0 / 439.9 MB, free: 7.098 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002543/0.4913, allocations: 0.8272 MB / 440.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.4914, allocations: 8.031 kB / 440.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.4916, allocations: 15.89 kB / 440.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4917, allocations: 180.7 kB / 440.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4918, allocations: 15.88 kB / 440.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4918, allocations: 4 kB / 440.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.4921, allocations: 224.2 kB / 441.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4922, allocations: 3.984 kB / 441.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4922, allocations: 3.938 kB / 441.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.4922, allocations: 7.984 kB / 441.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.4926, allocations: 428.1 kB / 441.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.493, allocations: 303.1 kB / 441.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4932, allocations: 222.8 kB / 442.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.4934, allocations: 213.1 kB / 442.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01645/0.5098, allocations: 10.02 MB / 452.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.5099, allocations: 46.44 kB / 452.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 3.437e-06/0.5099, allocations: 0 / 452.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009287/0.5109, allocations: 0.5812 MB / 452.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.5109, allocations: 55.41 kB / 453 MB, free: 8.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/0.511, allocations: 97.86 kB / 453.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.5111, allocations: 25.7 kB / 453.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.5111, allocations: 84.92 kB / 453.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.5112, allocations: 134 kB / 453.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.5113, allocations: 41.69 kB / 453.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5115, allocations: 322.8 kB / 453.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.5117, allocations: 159.9 kB / 453.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.5119, allocations: 163.9 kB / 454 MB, free: 6.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.5123, allocations: 371.5 kB / 454.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5123, allocations: 0 / 454.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005046/0.5128, allocations: 406.9 kB / 454.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5128, allocations: 15.94 kB / 454.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5128, allocations: 0 / 454.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.5129, allocations: 0 / 454.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.513, allocations: 23.17 kB / 454.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.513, allocations: 3.938 kB / 454.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.5131, allocations: 15.78 kB / 454.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.5131, allocations: 8 kB / 454.8 MB, free: 6.133 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 (13): * Single equations (assignments): 11 * 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 0.0001267/0.5132, allocations: 121.8 kB / 454.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.5133, allocations: 23.73 kB / 455 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.514, allocations: 0.6058 MB / 455.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.514, allocations: 4 kB / 455.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5141, allocations: 3.984 kB / 455.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.5141, allocations: 0 / 455.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5152, allocations: 0.9007 MB / 456.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5152, allocations: 7.984 kB / 456.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.5153, allocations: 16 kB / 456.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5153, allocations: 8.281 kB / 456.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5153, allocations: 11.98 kB / 456.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.5153, allocations: 7.938 kB / 456.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.5153, allocations: 3.938 kB / 456.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.5157, allocations: 269.4 kB / 456.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.5158, allocations: 89.05 kB / 456.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.5158, allocations: 15.84 kB / 456.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.5159, allocations: 3.938 kB / 456.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.5159, allocations: 19.98 kB / 456.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5159, allocations: 4 kB / 456.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.5161, allocations: 171.2 kB / 457.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5161, allocations: 0 / 457.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002811/0.5189, allocations: 0.7926 MB / 457.9 MB, free: 2.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.003854/0.5228, allocations: 1.353 MB / 459.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.5233, allocations: 291.8 kB / 459.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5233, allocations: 0 / 459.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.5234, allocations: 75.83 kB / 459.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.524, allocations: 93.34 kB / 459.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.5247, allocations: 399.8 kB / 460.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.525, allocations: 0.7045 MB / 460.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.5251, allocations: 16.44 kB / 460.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.5251, allocations: 23.44 kB / 460.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5252, allocations: 0 / 460.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Templates: time 0.04132/0.5665, allocations: 26.78 MB / 487.6 MB, free: 5.086 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile (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=480 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1)