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.004351/0.004351, allocations: 101 kB / 15.73 MB, free: 6.043 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.001068/0.001068, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.245/1.245, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04304/0.04304, allocations: 9.092 MB / 279 MB, free: 12.09 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.00133/0.00133, allocations: 67.89 kB / 387.5 MB, free: 8.059 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2367, allocations: 48.15 MB / 435.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.0189/0.2556, allocations: 17.3 MB / 452.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2693, allocations: 14.25 MB / 467.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.2694, allocations: 0 / 467.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2704, allocations: 419.1 kB / 467.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.2737, allocations: 1.579 MB / 469.1 MB, free: 14.04 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.0123/0.286, allocations: 5.098 MB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.2862, allocations: 151.1 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.2863, allocations: 9.125 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.2864, allocations: 67.64 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.2865, allocations: 43.8 kB / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2865, allocations: 4 kB / 474.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.3014, allocations: 9.841 MB / 484.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3014, allocations: 11.81 kB / 484.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.3015, allocations: 59.67 kB / 484.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00672/0.3082, allocations: 3.796 MB / 488.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3083, allocations: 0 / 488.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3083, allocations: 4 kB / 488.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3083, allocations: 0 / 488.2 MB, free: 12.01 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.001539/0.3098, allocations: 0.8382 MB / 489.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3099, allocations: 12.03 kB / 489.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.31, allocations: 19.81 kB / 489.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3101, allocations: 174.9 kB / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3102, allocations: 8 kB / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3102, allocations: 4 kB / 489.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3105, allocations: 222.6 kB / 489.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3105, allocations: 0 / 489.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3105, allocations: 3.938 kB / 489.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3105, allocations: 15.92 kB / 489.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3109, allocations: 420 kB / 489.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.3112, allocations: 307.1 kB / 490.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3114, allocations: 222.8 kB / 490.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.3116, allocations: 213.2 kB / 490.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/0.3258, allocations: 10.03 MB / 0.4889 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.3259, allocations: 34.5 kB / 0.489 GB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.3259, allocations: 0 / 0.489 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006418/0.3265, allocations: 0.5812 MB / 0.4895 GB, free: 12.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3266, allocations: 63.39 kB / 0.4896 GB, free: 12.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.3266, allocations: 89.86 kB / 0.4897 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3267, allocations: 29.7 kB / 0.4897 GB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.3267, allocations: 80.8 kB / 0.4898 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.3268, allocations: 130 kB / 0.4899 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.3269, allocations: 41.7 kB / 0.49 GB, free: 12.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.327, allocations: 330.9 kB / 0.4903 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3271, allocations: 155.9 kB / 0.4904 GB, free: 12.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3273, allocations: 167.9 kB / 0.4906 GB, free: 11.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.3276, allocations: 375.6 kB / 0.4909 GB, free: 11.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3276, allocations: 0 / 0.4909 GB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004147/0.328, allocations: 410.9 kB / 0.4913 GB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3281, allocations: 9.031 kB / 0.4913 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3281, allocations: 0 / 0.4913 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3281, allocations: 4 kB / 0.4913 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.3282, allocations: 15.98 kB / 0.4914 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3282, allocations: 4 kB / 0.4914 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3283, allocations: 15.78 kB / 0.4914 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3283, allocations: 8 kB / 0.4914 GB, free: 11.03 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.418e-05/0.3284, allocations: 125.7 kB / 0.4915 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3284, allocations: 15.75 kB / 0.4915 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.329, allocations: 0.6203 MB / 0.4921 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.329, allocations: 0 / 0.4921 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3291, allocations: 0 / 0.4921 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3291, allocations: 4 kB / 0.4921 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.3299, allocations: 0.9007 MB / 0.493 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3299, allocations: 4 kB / 0.493 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.3299, allocations: 23.92 kB / 0.493 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.33, allocations: 4 kB / 0.493 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.33, allocations: 4 kB / 0.493 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.33, allocations: 7.938 kB / 0.4931 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.33, allocations: 8 kB / 0.4931 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3303, allocations: 265.8 kB / 0.4933 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3303, allocations: 93.03 kB / 0.4934 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3303, allocations: 15.84 kB / 0.4934 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.3304, allocations: 7.938 kB / 0.4934 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3305, allocations: 15.92 kB / 0.4934 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3305, allocations: 8 kB / 0.4935 GB, free: 8.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3306, allocations: 171.2 kB / 0.4936 GB, free: 8.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3306, allocations: 0 / 0.4936 GB, free: 8.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001719/0.3323, allocations: 0.7886 MB / 0.4944 GB, free: 7.691 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.002891/0.3352, allocations: 1.357 MB / 0.4957 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.3356, allocations: 287.8 kB / 0.496 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3356, allocations: 4 kB / 0.496 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.3357, allocations: 71.91 kB / 0.4961 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.3362, allocations: 88.52 kB / 0.4961 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.3368, allocations: 391 kB / 0.4965 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.337, allocations: 0.7084 MB / 0.4972 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.3371, allocations: 20.42 kB / 0.4972 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3371, allocations: 23.44 kB / 0.4972 GB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3371, allocations: 3.938 kB / 0.4973 GB, free: 4.668 MB / 382.1 MB Notification: Performance of Templates: time 0.03208/0.3692, allocations: 26.78 MB / 0.5234 GB, free: 9.883 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)