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.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04686/0.04686, allocations: 9.089 MB / 278.8 MB, free: 12.17 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.001516/0.001516, allocations: 72.27 kB / 338 MB, free: 25.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07237/0.0739, allocations: 48.16 MB / 386.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01784/0.09177, allocations: 17.3 MB / 403.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1046, allocations: 14.26 MB / 417.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.1047, allocations: 0 / 417.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.1057, allocations: 379.6 kB / 418.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.1087, allocations: 1.558 MB / 419.7 MB, free: 7.594 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.01116/0.1198, allocations: 4.792 MB / 424.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1201, allocations: 143.2 kB / 424.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.1201, allocations: 13.11 kB / 424.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1202, allocations: 63.72 kB / 424.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.1203, allocations: 47.73 kB / 424.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1203, allocations: 0 / 424.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1662/0.2866, allocations: 9.724 MB / 434.4 MB, free: 19.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.2867, allocations: 15.05 kB / 434.5 MB, free: 19.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.2868, allocations: 49.91 kB / 434.5 MB, free: 19.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.2954, allocations: 3.805 MB / 438.3 MB, free: 19.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2954, allocations: 0 / 438.3 MB, free: 19.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2954, allocations: 0 / 438.3 MB, free: 19.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2954, allocations: 0 / 438.3 MB, free: 19.04 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.001704/0.2971, allocations: 0.83 MB / 439.1 MB, free: 18.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2972, allocations: 9.625 kB / 439.2 MB, free: 18.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2973, allocations: 21.83 kB / 439.2 MB, free: 18.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.2974, allocations: 178.3 kB / 439.3 MB, free: 18.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2974, allocations: 6.594 kB / 439.4 MB, free: 18.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2974, allocations: 3.875 kB / 439.4 MB, free: 18.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.2977, allocations: 227.1 kB / 439.6 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2977, allocations: 1.875 kB / 439.6 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2977, allocations: 1.438 kB / 439.6 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2977, allocations: 10.5 kB / 439.6 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.2981, allocations: 417.9 kB / 440 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.2983, allocations: 308.5 kB / 440.3 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.2985, allocations: 221.5 kB / 440.5 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.2987, allocations: 221 kB / 440.7 MB, free: 17.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01344/0.3122, allocations: 10.02 MB / 450.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3122, allocations: 30.56 kB / 450.8 MB, free: 8.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.3122, allocations: 0 / 450.8 MB, free: 8.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006173/0.3128, allocations: 0.5863 MB / 451.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.3129, allocations: 57.12 kB / 451.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.3129, allocations: 97.59 kB / 451.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.3129, allocations: 26.97 kB / 451.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.376e-05/0.313, allocations: 80.8 kB / 451.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.3131, allocations: 134.2 kB / 451.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3131, allocations: 36.84 kB / 451.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.3132, allocations: 325.2 kB / 452.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3133, allocations: 166.4 kB / 452.3 MB, free: 8.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3134, allocations: 164.5 kB / 452.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.3138, allocations: 371.6 kB / 452.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3138, allocations: 6.672 kB / 452.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004164/0.3142, allocations: 406.5 kB / 453.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3142, allocations: 7.031 kB / 453.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3142, allocations: 0 / 453.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3142, allocations: 1.594 kB / 453.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3144, allocations: 18.67 kB / 453.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3144, allocations: 5.312 kB / 453.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.3144, allocations: 19.97 kB / 453.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3145, allocations: 1.844 kB / 453.3 MB, free: 7.926 MB / 318.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 8.101e-05/0.3146, allocations: 130.5 kB / 453.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3146, allocations: 12.72 kB / 453.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.3151, allocations: 0.6173 MB / 454 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3151, allocations: 5.375 kB / 454 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3151, allocations: 1.375 kB / 454 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3151, allocations: 0 / 454 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.3159, allocations: 0.8994 MB / 454.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3159, allocations: 3.656 kB / 454.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.3159, allocations: 21.42 kB / 454.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.316, allocations: 7.5 kB / 455 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.316, allocations: 12.17 kB / 455 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.316, allocations: 2.688 kB / 455 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.316, allocations: 7 kB / 455 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3162, allocations: 262.6 kB / 455.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.3163, allocations: 92.52 kB / 455.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3163, allocations: 21.11 kB / 455.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.3164, allocations: 3.562 kB / 455.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.3164, allocations: 11.09 kB / 455.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3165, allocations: 11.89 kB / 455.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3166, allocations: 173.4 kB / 455.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3166, allocations: 0 / 455.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002809/0.3194, allocations: 0.7979 MB / 456.3 MB, free: 6.434 MB / 318.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.005057/0.3245, allocations: 1.334 MB / 457.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3249, allocations: 295.5 kB / 458 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3249, allocations: 4 kB / 458 MB, free: 5.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.325, allocations: 78.16 kB / 458 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.3256, allocations: 86.86 kB / 458.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.3261, allocations: 395.3 kB / 458.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3263, allocations: 0.7034 MB / 459.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.3264, allocations: 27.22 kB / 459.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3264, allocations: 22.09 kB / 459.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3264, allocations: 0 / 459.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of Templates: time 0.03858/0.365, allocations: 26.81 MB / 486.1 MB, free: 12.74 MB / 350.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1)