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.0009382/0.0009382, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007514/0.007514, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04473/0.04473, allocations: 9.065 MB / 279.8 MB, free: 12.37 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.0004882/0.0004882, allocations: 12.78 kB / 339.7 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.0716, allocations: 49.19 MB / 388.9 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01706/0.08871, allocations: 17.03 MB / 406 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.1021, allocations: 14.27 MB / 420.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.1022, allocations: 0 / 420.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.1031, allocations: 340 kB / 420.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.1058, allocations: 1.407 MB / 422 MB, free: 7.273 MB / 318.1 MB [/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.01039/0.1162, allocations: 4.027 MB / 426 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1164, allocations: 143.2 kB / 426.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.1165, allocations: 17.11 kB / 426.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1166, allocations: 55.72 kB / 426.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.1167, allocations: 51.67 kB / 426.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1167, allocations: 4 kB / 426.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1627/0.2794, allocations: 9.267 MB / 435.5 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.2794, allocations: 14.31 kB / 435.5 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.2796, allocations: 79.41 kB / 435.6 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.2877, allocations: 3.631 MB / 439.2 MB, free: 18.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2877, allocations: 0 / 439.2 MB, free: 18.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2877, allocations: 0 / 439.2 MB, free: 18.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.2877, allocations: 1.625 kB / 439.2 MB, free: 18.78 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.001946/0.2897, allocations: 0.8189 MB / 440.1 MB, free: 18.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2897, allocations: 9.438 kB / 440.1 MB, free: 18.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.2899, allocations: 22.56 kB / 440.1 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.29, allocations: 175.8 kB / 440.3 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.29, allocations: 7.141 kB / 440.3 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.29, allocations: 6.344 kB / 440.3 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2903, allocations: 218.8 kB / 440.5 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2903, allocations: 1.875 kB / 440.5 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2903, allocations: 6.219 kB / 440.5 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2903, allocations: 7.078 kB / 440.5 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.2907, allocations: 421.5 kB / 440.9 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.291, allocations: 308.7 kB / 441.2 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2912, allocations: 229.2 kB / 441.4 MB, free: 17.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.2913, allocations: 220.3 kB / 441.7 MB, free: 17.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/0.3038, allocations: 9.826 MB / 451.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.3039, allocations: 33.47 kB / 451.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.786e-06/0.3039, allocations: 4.547 kB / 451.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005449/0.3045, allocations: 0.5863 MB / 452.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.3045, allocations: 53.75 kB / 452.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.418e-05/0.3045, allocations: 92.52 kB / 452.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3046, allocations: 29.27 kB / 452.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.3046, allocations: 84.61 kB / 452.4 MB, free: 8.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.3047, allocations: 130.7 kB / 452.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3047, allocations: 31.47 kB / 452.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.3047, allocations: 329.9 kB / 452.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3049, allocations: 155.2 kB / 453 MB, free: 7.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.305, allocations: 167.4 kB / 453.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.3053, allocations: 373 kB / 453.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3053, allocations: 3.938 kB / 453.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003867/0.3057, allocations: 399.9 kB / 453.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3057, allocations: 7.781 kB / 453.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3057, allocations: 0 / 453.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3058, allocations: 1.156 kB / 453.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.3059, allocations: 21.88 kB / 454 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3059, allocations: 4 kB / 454 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.3059, allocations: 15.47 kB / 454 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.306, allocations: 4.094 kB / 454 MB, free: 7.707 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 7.159e-05/0.306, allocations: 123.1 kB / 454.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.3061, allocations: 11.81 kB / 454.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.3066, allocations: 0.622 MB / 454.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3066, allocations: 4.938 kB / 454.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3066, allocations: 5.672 kB / 454.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3066, allocations: 0 / 454.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.3074, allocations: 0.8975 MB / 455.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3074, allocations: 8.375 kB / 455.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.3075, allocations: 19.97 kB / 455.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3075, allocations: 6.688 kB / 455.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3075, allocations: 12.3 kB / 455.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3075, allocations: 4.125 kB / 455.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3075, allocations: 3.094 kB / 455.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.3078, allocations: 260.2 kB / 455.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.3078, allocations: 133.4 kB / 456.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3079, allocations: 8.109 kB / 456.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.3079, allocations: 8.047 kB / 456.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.308, allocations: 17.25 kB / 456.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.308, allocations: 10.86 kB / 456.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3081, allocations: 172.8 kB / 456.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3081, allocations: 1.375 kB / 456.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002307/0.3104, allocations: 0.795 MB / 457.1 MB, free: 6.109 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.004134/0.3146, allocations: 1.349 MB / 458.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3149, allocations: 287.4 kB / 458.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3149, allocations: 1.531 kB / 458.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.315, allocations: 72.88 kB / 458.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.3156, allocations: 94.42 kB / 458.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.316, allocations: 474.8 kB / 459.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3162, allocations: 0.7067 MB / 460 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.3163, allocations: 16.69 kB / 460.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.3163, allocations: 15.59 kB / 460.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3163, allocations: 0 / 460.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of Templates: time 0.03507/0.3514, allocations: 26.55 MB / 486.6 MB, free: 13.28 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: