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.007821/0.007821, allocations: 101 kB / 15.73 MB, free: 5.609 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.001955/0.001955, allocations: 194 kB / 16.67 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05011/0.05011, allocations: 9.099 MB / 279 MB, free: 2.934 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.002043/0.002043, allocations: 69.23 kB / 386.9 MB, free: 47.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06678/0.06883, allocations: 48.18 MB / 435.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01723/0.08609, allocations: 17.3 MB / 452.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1009, allocations: 14.24 MB / 466.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.101, allocations: 4 kB / 466.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.102, allocations: 379.6 kB / 467 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.1052, allocations: 1.547 MB / 468.6 MB, free: 6.52 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.01158/0.1168, allocations: 4.793 MB / 473.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.1171, allocations: 147.2 kB / 473.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.1171, allocations: 13.11 kB / 473.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1172, allocations: 67.59 kB / 473.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.1173, allocations: 43.8 kB / 473.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1173, allocations: 0 / 473.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.1343, allocations: 9.845 MB / 483.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.1343, allocations: 19.86 kB / 483.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.1344, allocations: 51.73 kB / 483.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009426/0.1439, allocations: 3.807 MB / 487.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1439, allocations: 0 / 487.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1439, allocations: 0 / 487.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1439, allocations: 0 / 487.4 MB, free: 3.691 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.001671/0.1456, allocations: 0.8656 MB / 488.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1457, allocations: 12.03 kB / 488.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.1457, allocations: 46.55 kB / 488.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1458, allocations: 23.91 kB / 488.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.146, allocations: 174.9 kB / 488.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.146, allocations: 4 kB / 488.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1461, allocations: 11.94 kB / 488.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1464, allocations: 218.5 kB / 488.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1464, allocations: 3.938 kB / 488.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1464, allocations: 4 kB / 488.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.1464, allocations: 11.98 kB / 488.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.1469, allocations: 424.1 kB / 489.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1472, allocations: 303.2 kB / 489.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1475, allocations: 222.8 kB / 489.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1477, allocations: 217.1 kB / 489.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/0.1641, allocations: 10.03 MB / 499.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1641, allocations: 34.5 kB / 499.9 MB, free: 5.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.1642, allocations: 0 / 499.9 MB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007871/0.1649, allocations: 0.5813 MB / 0.4888 GB, free: 4.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.165, allocations: 63.33 kB / 0.4889 GB, free: 4.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.1651, allocations: 93.86 kB / 0.4889 GB, free: 4.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1651, allocations: 33.7 kB / 0.489 GB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.1652, allocations: 80.8 kB / 0.4891 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1653, allocations: 130.8 kB / 0.4892 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.1653, allocations: 41.7 kB / 0.4892 GB, free: 4.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1655, allocations: 322.8 kB / 0.4895 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1657, allocations: 159.9 kB / 0.4897 GB, free: 3.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1659, allocations: 167.8 kB / 0.4898 GB, free: 3.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.1663, allocations: 371.7 kB / 0.4902 GB, free: 3.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1663, allocations: 0 / 0.4902 GB, free: 3.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004744/0.1667, allocations: 414.9 kB / 0.4906 GB, free: 2.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1668, allocations: 6.344 kB / 0.4906 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1668, allocations: 0 / 0.4906 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1668, allocations: 0 / 0.4906 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.1669, allocations: 23.92 kB / 0.4906 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1669, allocations: 0 / 0.4906 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.167, allocations: 19.83 kB / 0.4906 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.167, allocations: 4 kB / 0.4906 GB, free: 2.613 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 0.0001012/0.1671, allocations: 124.9 kB / 0.4908 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1671, allocations: 15.84 kB / 0.4908 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.1678, allocations: 0.6232 MB / 0.4914 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1678, allocations: 0 / 0.4914 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1679, allocations: 0 / 0.4914 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1679, allocations: 0 / 0.4914 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.1689, allocations: 0.8969 MB / 0.4923 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1689, allocations: 4.344 kB / 0.4923 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.169, allocations: 27.98 kB / 0.4923 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.169, allocations: 4 kB / 0.4923 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.169, allocations: 7.938 kB / 0.4923 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.169, allocations: 11.88 kB / 0.4923 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.169, allocations: 8 kB / 0.4923 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1693, allocations: 261.4 kB / 0.4926 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1694, allocations: 89.09 kB / 0.4927 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.1694, allocations: 15.89 kB / 0.4927 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.1695, allocations: 11.94 kB / 0.4927 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1695, allocations: 7.984 kB / 0.4927 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1696, allocations: 8 kB / 0.4927 GB, free: 252 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1697, allocations: 179.2 kB / 0.4929 GB, free: 72 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1697, allocations: 0 / 0.4929 GB, free: 72 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002031/0.1718, allocations: 0.802 MB / 0.4937 GB, free: 15.27 MB / 398.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.00408/0.1759, allocations: 2.064 MB / 0.4957 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.1763, allocations: 295.8 kB / 0.496 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1763, allocations: 0 / 0.496 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.1764, allocations: 75.84 kB / 0.496 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.177, allocations: 88.5 kB / 0.4961 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.1802, allocations: 2.847 MB / 0.4989 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1806, allocations: 0.7084 MB / 0.4996 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.881e-05/0.1807, allocations: 24.06 kB / 0.4996 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.1808, allocations: 39.42 kB / 0.4996 GB, free: 8.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1808, allocations: 0 / 0.4996 GB, free: 8.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2153/0.3961, allocations: 29.24 MB / 0.5282 GB, free: 95.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.227/9.623, allocations: 4.719 kB / 0.5282 GB, free: 95.77 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)