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.005164/0.005164, allocations: 96.75 kB / 15.73 MB, free: 6.027 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.001152/0.001152, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.38/1.38, 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.04872/0.04872, allocations: 9.096 MB / 279 MB, free: 12.08 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.001489/0.00149, allocations: 67.91 kB / 387.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2436, allocations: 48.16 MB / 435.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01893/0.2626, allocations: 17.3 MB / 452.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.2765, allocations: 14.27 MB / 467.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2767, allocations: 0 / 467.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2778, allocations: 373.2 kB / 467.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.2813, allocations: 1.542 MB / 469.1 MB, free: 14.07 MB / 350.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.01245/0.2937, allocations: 4.795 MB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.294, allocations: 147.1 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.294, allocations: 9.125 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.2941, allocations: 63.72 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.2942, allocations: 47.78 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2942, allocations: 4 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.3103, allocations: 9.837 MB / 484 MB, free: 264 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.3104, allocations: 11.94 kB / 484 MB, free: 252 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.3105, allocations: 63.66 kB / 484.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.3187, allocations: 3.799 MB / 487.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3187, allocations: 4 kB / 487.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3187, allocations: 0 / 487.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3187, allocations: 4 kB / 487.9 MB, free: 12.37 MB / 366.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.001673/0.3204, allocations: 0.8655 MB / 488.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3205, allocations: 8.031 kB / 488.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3206, allocations: 15.91 kB / 488.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3207, allocations: 174.9 kB / 488.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3208, allocations: 4 kB / 488.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3208, allocations: 8 kB / 488.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3211, allocations: 222.5 kB / 489.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3211, allocations: 0 / 489.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3211, allocations: 3.938 kB / 489.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3211, allocations: 8 kB / 489.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.3215, allocations: 428 kB / 489.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.3218, allocations: 311.2 kB / 489.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3221, allocations: 226.8 kB / 490.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3223, allocations: 221.1 kB / 490.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.337, allocations: 10.02 MB / 0.4886 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3371, allocations: 38.5 kB / 0.4886 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.043e-06/0.3371, allocations: 0 / 0.4886 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006889/0.3378, allocations: 0.5852 MB / 0.4892 GB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3378, allocations: 51.41 kB / 0.4893 GB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.3379, allocations: 97.84 kB / 0.4894 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3379, allocations: 29.7 kB / 0.4894 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.3379, allocations: 80.8 kB / 0.4895 GB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/0.338, allocations: 142.7 kB / 0.4896 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.3381, allocations: 41.83 kB / 0.4896 GB, free: 12.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3382, allocations: 322.8 kB / 0.49 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3384, allocations: 159.9 kB / 0.4901 GB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3385, allocations: 167.9 kB / 0.4903 GB, free: 12.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.3389, allocations: 371.6 kB / 0.4906 GB, free: 11.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3389, allocations: 0 / 0.4906 GB, free: 11.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004279/0.3393, allocations: 411 kB / 0.491 GB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3394, allocations: 7.938 kB / 0.491 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3394, allocations: 4 kB / 0.491 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3394, allocations: 4 kB / 0.491 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.3395, allocations: 15.94 kB / 0.491 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.3395, allocations: 4 kB / 0.491 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.3396, allocations: 15.88 kB / 0.4911 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3396, allocations: 4 kB / 0.4911 GB, free: 11.35 MB / 382.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 9.232e-05/0.3397, allocations: 121.8 kB / 0.4912 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3397, allocations: 19.84 kB / 0.4912 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.3404, allocations: 0.6281 MB / 0.4918 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3404, allocations: 4 kB / 0.4918 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3404, allocations: 4 kB / 0.4918 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3404, allocations: 0 / 0.4918 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.3413, allocations: 0.9008 MB / 0.4927 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3413, allocations: 0 / 0.4927 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.3414, allocations: 23.98 kB / 0.4927 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3414, allocations: 0 / 0.4927 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3414, allocations: 8 kB / 0.4927 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3414, allocations: 11.88 kB / 0.4927 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3414, allocations: 4.344 kB / 0.4927 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3417, allocations: 269.5 kB / 0.493 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.3417, allocations: 85.11 kB / 0.4931 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.3418, allocations: 15.88 kB / 0.4931 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.3419, allocations: 7.938 kB / 0.4931 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.3419, allocations: 15.94 kB / 0.4931 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3419, allocations: 15.92 kB / 0.4931 GB, free: 8.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3421, allocations: 167.2 kB / 0.4933 GB, free: 8.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3421, allocations: 0 / 0.4933 GB, free: 8.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001792/0.3439, allocations: 0.8098 MB / 0.4941 GB, free: 7.98 MB / 382.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.003851/0.3477, allocations: 1.354 MB / 0.4954 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.3481, allocations: 303.8 kB / 0.4957 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3481, allocations: 0 / 0.4957 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.3482, allocations: 75.84 kB / 0.4958 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3488, allocations: 99.8 kB / 0.4959 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.3493, allocations: 391 kB / 0.4962 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3496, allocations: 0.7083 MB / 0.4969 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.3497, allocations: 24.42 kB / 0.497 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3497, allocations: 19.38 kB / 0.497 GB, free: 4.934 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3498, allocations: 0 / 0.497 GB, free: 4.934 MB / 382.1 MB Notification: Performance of Templates: time 0.03668/0.3864, allocations: 26.77 MB / 0.5231 GB, free: 10.16 MB / 414.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)