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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009925/0.0009925, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.267/1.267, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04252/0.04252, allocations: 9.094 MB / 278.4 MB, free: 12.4 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.001273/0.001273, allocations: 60.48 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07667/0.07796, allocations: 48.17 MB / 385.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.0177/0.09569, allocations: 17.53 MB / 403 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.1091, allocations: 14.44 MB / 417.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1093, allocations: 0 / 417.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1104, allocations: 340 kB / 417.8 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.1134, allocations: 1.391 MB / 419.2 MB, free: 7.844 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.01074/0.1242, allocations: 4.015 MB / 423.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1244, allocations: 139.2 kB / 423.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.1244, allocations: 9.125 kB / 423.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1245, allocations: 55.72 kB / 423.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.1246, allocations: 51.73 kB / 423.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1246, allocations: 0 / 423.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1652/0.2899, allocations: 9.27 MB / 432.7 MB, free: 18.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.29, allocations: 15.97 kB / 432.7 MB, free: 18.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2901, allocations: 54.17 kB / 432.8 MB, free: 18.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.3003, allocations: 3.64 MB / 436.4 MB, free: 18.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3003, allocations: 3.75 kB / 436.4 MB, free: 18.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3003, allocations: 1.094 kB / 436.4 MB, free: 18.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.3003, allocations: 0 / 436.4 MB, free: 18.92 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.001979/0.3023, allocations: 0.8245 MB / 437.3 MB, free: 18.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3024, allocations: 9.594 kB / 437.3 MB, free: 18.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3025, allocations: 29.91 kB / 437.3 MB, free: 18.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3027, allocations: 175.5 kB / 437.5 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3027, allocations: 2.969 kB / 437.5 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3027, allocations: 9.203 kB / 437.5 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3032, allocations: 224.5 kB / 437.7 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3032, allocations: 2.469 kB / 437.7 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3032, allocations: 0.5 kB / 437.7 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3033, allocations: 9.578 kB / 437.7 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.304, allocations: 425.8 kB / 438.1 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.3043, allocations: 311.1 kB / 438.4 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.3046, allocations: 224.9 kB / 438.7 MB, free: 17.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.3049, allocations: 214.7 kB / 438.9 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/0.3184, allocations: 10.03 MB / 448.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3185, allocations: 34.19 kB / 448.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.444e-06/0.3185, allocations: 0 / 448.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006175/0.3191, allocations: 0.5797 MB / 449.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.3192, allocations: 54.34 kB / 449.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.3192, allocations: 104.2 kB / 449.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3193, allocations: 28.44 kB / 449.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.437e-05/0.3193, allocations: 80.8 kB / 449.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.3194, allocations: 134 kB / 449.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.3194, allocations: 39.12 kB / 449.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.3195, allocations: 323.3 kB / 450.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3196, allocations: 161.2 kB / 450.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3197, allocations: 162.5 kB / 450.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.32, allocations: 380.8 kB / 450.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.32, allocations: 3.938 kB / 450.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003313/0.3203, allocations: 399.8 kB / 451.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3204, allocations: 6.531 kB / 451.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3204, allocations: 1.266 kB / 451.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3204, allocations: 0 / 451.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3205, allocations: 24.25 kB / 451.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3205, allocations: 4.078 kB / 451.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.3206, allocations: 14.72 kB / 451.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3206, allocations: 6.906 kB / 451.4 MB, free: 7.84 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 6.193e-05/0.3207, allocations: 121.2 kB / 451.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.3207, allocations: 12.91 kB / 451.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.3212, allocations: 0.6225 MB / 452.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3212, allocations: 2.312 kB / 452.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3212, allocations: 0 / 452.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3212, allocations: 5.141 kB / 452.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.3219, allocations: 0.8963 MB / 453.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3219, allocations: 2.531 kB / 453.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.322, allocations: 25.95 kB / 453.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.322, allocations: 6.875 kB / 453.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.322, allocations: 6.656 kB / 453.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.322, allocations: 13.94 kB / 453.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.322, allocations: 3.094 kB / 453.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.3223, allocations: 260 kB / 453.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3223, allocations: 89.48 kB / 453.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.3224, allocations: 17.31 kB / 453.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.3224, allocations: 3.469 kB / 453.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3225, allocations: 18.28 kB / 453.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3225, allocations: 6.969 kB / 453.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3226, allocations: 172.4 kB / 453.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3226, allocations: 4 kB / 453.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003284/0.3259, allocations: 0.799 MB / 454.5 MB, free: 6.438 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.004247/0.3302, allocations: 1.35 MB / 455.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.3307, allocations: 282.3 kB / 456.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3307, allocations: 2 kB / 456.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.3308, allocations: 85.38 kB / 456.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.3314, allocations: 83.19 kB / 456.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.332, allocations: 429 kB / 456.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.3322, allocations: 0.7084 MB / 457.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3323, allocations: 13.66 kB / 457.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3323, allocations: 21.89 kB / 457.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3323, allocations: 0 / 457.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of Templates: time 0.03256/0.3649, allocations: 26.59 MB / 484 MB, free: 14.16 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)