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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005537/0.005537, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001307/0.001307, allocations: 200.3 kB / 16.68 MB, free: 5.906 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.361/1.361, 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.04724/0.04724, allocations: 9.098 MB / 279 MB, free: 12.12 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.001533/0.001533, allocations: 63.91 kB / 387 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2404, allocations: 48.15 MB / 435.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01862/0.2591, allocations: 17.3 MB / 452.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.2728, allocations: 14.27 MB / 466.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.2729, allocations: 0 / 466.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.274, allocations: 368.8 kB / 467 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.2772, allocations: 1.55 MB / 468.6 MB, free: 13.82 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.01209/0.2893, allocations: 4.79 MB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.2895, allocations: 155.1 kB / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.2896, allocations: 9.125 kB / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2897, allocations: 67.66 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.2897, allocations: 43.78 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2898, allocations: 4 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/0.3078, allocations: 9.841 MB / 483.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.3079, allocations: 15.92 kB / 483.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.308, allocations: 51.69 kB / 483.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009982/0.318, allocations: 3.8 MB / 487.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3181, allocations: 0 / 487.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3181, allocations: 0 / 487.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3181, allocations: 0 / 487.4 MB, free: 12.39 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.001683/0.3198, allocations: 0.8343 MB / 488.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3198, allocations: 8.031 kB / 488.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.3199, allocations: 46.55 kB / 488.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.32, allocations: 19.8 kB / 488.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3201, allocations: 179 kB / 488.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3202, allocations: 4 kB / 488.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3202, allocations: 4 kB / 488.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3205, allocations: 218.6 kB / 488.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3205, allocations: 3.938 kB / 488.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3205, allocations: 0 / 488.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3205, allocations: 11.92 kB / 488.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.3209, allocations: 432 kB / 489.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.3212, allocations: 307.1 kB / 489.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3215, allocations: 226.8 kB / 489.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3217, allocations: 209.1 kB / 489.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/0.3379, allocations: 10.03 MB / 499.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.338, allocations: 38.5 kB / 499.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.338, allocations: 0 / 499.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007444/0.3387, allocations: 0.589 MB / 0.4888 GB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3388, allocations: 51.41 kB / 0.4888 GB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.3389, allocations: 93.86 kB / 0.4889 GB, free: 13.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3389, allocations: 29.7 kB / 0.4889 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.339, allocations: 84.92 kB / 0.489 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3391, allocations: 134 kB / 0.4891 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.3392, allocations: 37.7 kB / 0.4892 GB, free: 12.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3394, allocations: 322.8 kB / 0.4895 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3396, allocations: 163.9 kB / 0.4896 GB, free: 12.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3397, allocations: 163.9 kB / 0.4898 GB, free: 12.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.3401, allocations: 371.6 kB / 0.4901 GB, free: 11.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3401, allocations: 0 / 0.4901 GB, free: 11.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004297/0.3405, allocations: 414.8 kB / 0.4905 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3405, allocations: 8 kB / 0.4905 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3406, allocations: 0 / 0.4905 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3406, allocations: 0 / 0.4905 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3407, allocations: 19.98 kB / 0.4906 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3408, allocations: 0 / 0.4906 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.3408, allocations: 19.78 kB / 0.4906 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3408, allocations: 4 kB / 0.4906 GB, free: 11.36 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 8.355e-05/0.3409, allocations: 121.7 kB / 0.4907 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.341, allocations: 15.75 kB / 0.4907 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.3416, allocations: 0.6198 MB / 0.4913 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3416, allocations: 4 kB / 0.4913 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3416, allocations: 0 / 0.4913 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3417, allocations: 0 / 0.4913 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.3425, allocations: 0.9007 MB / 0.4922 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3425, allocations: 4 kB / 0.4922 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.129e-05/0.3426, allocations: 27.92 kB / 0.4922 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3426, allocations: 4 kB / 0.4922 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3426, allocations: 8.344 kB / 0.4922 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3426, allocations: 11.94 kB / 0.4923 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3427, allocations: 0 / 0.4923 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.3429, allocations: 265.3 kB / 0.4925 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.343, allocations: 89.03 kB / 0.4926 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3431, allocations: 19.78 kB / 0.4926 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.3432, allocations: 11.88 kB / 0.4926 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.3432, allocations: 15.98 kB / 0.4926 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3432, allocations: 4 kB / 0.4926 GB, free: 8.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3434, allocations: 171.2 kB / 0.4928 GB, free: 8.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3434, allocations: 0 / 0.4928 GB, free: 8.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002003/0.3454, allocations: 0.7964 MB / 0.4936 GB, free: 8.02 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.004431/0.3498, allocations: 2.05 MB / 0.4956 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.3502, allocations: 299.7 kB / 0.4959 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3502, allocations: 0 / 0.4959 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.3503, allocations: 80.02 kB / 0.496 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.351, allocations: 88 kB / 0.496 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.3543, allocations: 2.818 MB / 0.4988 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3545, allocations: 0.7122 MB / 0.4995 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.841e-05/0.3546, allocations: 12.5 kB / 0.4995 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3547, allocations: 39.42 kB / 0.4995 GB, free: 1.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3547, allocations: 4 kB / 0.4995 GB, free: 1.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0578/0.4125, allocations: 29.22 MB / 0.5281 GB, free: 4.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/9.74, allocations: 7.219 kB / 0.5281 GB, free: 4.504 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1)