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.001503/0.001504, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001649/0.001649, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.321/1.321, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04621/0.04621, allocations: 9.097 MB / 279.6 MB, free: 2.98 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.001514/0.001514, allocations: 67.91 kB / 339.5 MB, free: 7.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 48.15 MB / 387.6 MB, free: 51.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01607/0.2447, allocations: 17.3 MB / 404.9 MB, free: 39.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.2552, allocations: 14.26 MB / 419.2 MB, free: 27.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.2553, allocations: 0 / 419.2 MB, free: 27.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2564, allocations: 384.8 kB / 419.6 MB, free: 27.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.2595, allocations: 1.541 MB / 421.1 MB, free: 26.09 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.01098/0.2705, allocations: 4.803 MB / 425.9 MB, free: 21.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.2707, allocations: 147.1 kB / 426 MB, free: 21.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.2707, allocations: 9.109 kB / 426.1 MB, free: 21.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.2708, allocations: 55.73 kB / 426.1 MB, free: 21.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.2709, allocations: 59.66 kB / 426.2 MB, free: 21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2709, allocations: 4 kB / 426.2 MB, free: 21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.2841, allocations: 9.829 MB / 436 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.2842, allocations: 15.92 kB / 436 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.2843, allocations: 55.67 kB / 436.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008383/0.2927, allocations: 3.804 MB / 439.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2927, allocations: 0 / 439.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2927, allocations: 4 kB / 439.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2927, allocations: 0 / 439.9 MB, free: 7.266 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.001674/0.2944, allocations: 0.8311 MB / 440.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2945, allocations: 8.031 kB / 440.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2946, allocations: 12.59 kB / 440.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2948, allocations: 178.9 kB / 440.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2948, allocations: 11.98 kB / 440.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2948, allocations: 7.938 kB / 440.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.2951, allocations: 222.6 kB / 441.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2951, allocations: 3.938 kB / 441.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2951, allocations: 3.938 kB / 441.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2951, allocations: 8 kB / 441.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.2954, allocations: 420.1 kB / 441.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.2957, allocations: 308.4 kB / 441.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.2959, allocations: 226.8 kB / 442.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.296, allocations: 213.1 kB / 442.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/0.3107, allocations: 10.02 MB / 452.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3108, allocations: 38.5 kB / 452.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.3108, allocations: 4 kB / 452.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007216/0.3116, allocations: 0.5811 MB / 452.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3116, allocations: 59.41 kB / 453 MB, free: 8.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.3117, allocations: 93.84 kB / 453.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3117, allocations: 29.7 kB / 453.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.3118, allocations: 80.8 kB / 453.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3119, allocations: 126 kB / 453.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.3119, allocations: 41.7 kB / 453.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3121, allocations: 323 kB / 453.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3122, allocations: 163.9 kB / 453.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3124, allocations: 167.9 kB / 454 MB, free: 7.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3128, allocations: 367.6 kB / 454.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3128, allocations: 0 / 454.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004324/0.3132, allocations: 414.8 kB / 454.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3132, allocations: 7.938 kB / 454.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3132, allocations: 0 / 454.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3133, allocations: 0 / 454.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.3134, allocations: 22.56 kB / 454.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3134, allocations: 0 / 454.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.3134, allocations: 15.83 kB / 454.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3135, allocations: 11.94 kB / 454.8 MB, free: 6.305 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 9.195e-05/0.3136, allocations: 117.8 kB / 454.9 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3136, allocations: 15.75 kB / 455 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.3142, allocations: 0.6222 MB / 455.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3143, allocations: 0 / 455.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3143, allocations: 4 kB / 455.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3143, allocations: 0 / 455.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009019/0.3152, allocations: 0.9007 MB / 456.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3152, allocations: 4 kB / 456.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.3153, allocations: 23.92 kB / 456.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3153, allocations: 4 kB / 456.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3153, allocations: 4 kB / 456.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3153, allocations: 7.938 kB / 456.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3153, allocations: 7.938 kB / 456.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3156, allocations: 273 kB / 456.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.3157, allocations: 89.05 kB / 456.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.3157, allocations: 19.83 kB / 456.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.3158, allocations: 7.938 kB / 456.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.3159, allocations: 13.56 kB / 456.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3159, allocations: 11.98 kB / 456.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.316, allocations: 167.2 kB / 457.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.316, allocations: 4 kB / 457.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001928/0.318, allocations: 0.7886 MB / 457.9 MB, free: 2.984 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.003888/0.3219, allocations: 1.348 MB / 459.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.3223, allocations: 295.8 kB / 459.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3223, allocations: 0 / 459.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.3224, allocations: 75.84 kB / 459.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3229, allocations: 94.25 kB / 459.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3235, allocations: 391 kB / 460.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3238, allocations: 0.7084 MB / 460.8 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.107e-05/0.3239, allocations: 24.88 kB / 460.8 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.3239, allocations: 27.44 kB / 460.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3239, allocations: 0 / 460.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.03975/0.3637, allocations: 26.78 MB / 487.6 MB, free: 5.246 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 gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1)