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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05547/0.05547, allocations: 9.165 MB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002965/0.002965, allocations: 67.91 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08779, allocations: 50.77 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.024/0.1118, allocations: 17.41 MB / 479.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.128, allocations: 14.29 MB / 493.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1281, allocations: 4 kB / 493.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1294, allocations: 419.6 kB / 493.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.133, allocations: 1.615 MB / 495.5 MB, free: 10.88 MB / 366.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.01299/0.1459, allocations: 5.136 MB / 0.4889 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.1462, allocations: 151.1 kB / 0.4891 GB, free: 5.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.1463, allocations: 9.297 kB / 0.4891 GB, free: 5.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1464, allocations: 55.73 kB / 0.4892 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.1465, allocations: 55.78 kB / 0.4892 GB, free: 5.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1465, allocations: 3.984 kB / 0.4892 GB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01937/0.1658, allocations: 10.34 MB / 0.4993 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1659, allocations: 15.91 kB / 0.4993 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.166, allocations: 55.69 kB / 0.4994 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.1799, allocations: 3.795 MB / 0.5031 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1799, allocations: 0 / 0.5031 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1799, allocations: 7.938 kB / 0.5031 GB, free: 7.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.1799, allocations: 0 / 0.5031 GB, free: 7.203 MB / 382.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.002475/0.1824, allocations: 0.7902 MB / 0.5039 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.1825, allocations: 11.98 kB / 0.5039 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.1825, allocations: 42.55 kB / 0.5039 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1827, allocations: 23.89 kB / 0.5039 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1828, allocations: 117.1 kB / 0.504 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1828, allocations: 4 kB / 0.5041 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1828, allocations: 8 kB / 0.5041 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.1832, allocations: 226.6 kB / 0.5043 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1832, allocations: 3.938 kB / 0.5043 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1832, allocations: 4 kB / 0.5043 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1832, allocations: 7.984 kB / 0.5043 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1837, allocations: 448 kB / 0.5047 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.184, allocations: 278.5 kB / 0.505 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1843, allocations: 194.8 kB / 0.5052 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1845, allocations: 181.1 kB / 0.5053 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.1973, allocations: 2.787 MB / 0.5081 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1974, allocations: 42.5 kB / 0.5081 GB, free: 1.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.345e-06/0.1974, allocations: 0 / 0.5081 GB, free: 1.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007908/0.1981, allocations: 0.6174 MB / 0.5087 GB, free: 1.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1982, allocations: 55.41 kB / 0.5088 GB, free: 1.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.1983, allocations: 89.86 kB / 0.5088 GB, free: 1.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1983, allocations: 33.7 kB / 0.5089 GB, free: 1.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1983, allocations: 80.8 kB / 0.509 GB, free: 1.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1984, allocations: 134.9 kB / 0.5091 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1985, allocations: 41.7 kB / 0.5091 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1986, allocations: 318.8 kB / 0.5094 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1988, allocations: 179.9 kB / 0.5096 GB, free: 352 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.199, allocations: 179.4 kB / 0.5098 GB, free: 176 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.1994, allocations: 387.6 kB / 0.5101 GB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1994, allocations: 3.938 kB / 0.5101 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004939/0.1999, allocations: 443.7 kB / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1999, allocations: 8 kB / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1999, allocations: 0 / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1999, allocations: 0 / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.2, allocations: 19.98 kB / 0.5106 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2, allocations: 0 / 0.5106 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.2001, allocations: 19.83 kB / 0.5106 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2001, allocations: 4 kB / 0.5106 GB, free: 15.29 MB / 398.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.788e-05/0.2002, allocations: 113.8 kB / 0.5107 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.2002, allocations: 19.78 kB / 0.5107 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.2009, allocations: 0.6358 MB / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2009, allocations: 0 / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2009, allocations: 0 / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2009, allocations: 0 / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.2019, allocations: 0.9077 MB / 0.5122 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2019, allocations: 0 / 0.5122 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.202, allocations: 27.92 kB / 0.5123 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.202, allocations: 0 / 0.5123 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.202, allocations: 8 kB / 0.5123 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.202, allocations: 12.27 kB / 0.5123 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.202, allocations: 8 kB / 0.5123 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.2023, allocations: 277.4 kB / 0.5126 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.2023, allocations: 7.984 kB / 0.5126 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.2024, allocations: 15.89 kB / 0.5126 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.2025, allocations: 11.94 kB / 0.5126 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.2025, allocations: 15.92 kB / 0.5126 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.2025, allocations: 4 kB / 0.5126 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.2027, allocations: 171.2 kB / 0.5128 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2027, allocations: 0 / 0.5128 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002001/0.2047, allocations: 0.8137 MB / 0.5136 GB, free: 12.01 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.003914/0.2086, allocations: 2.077 MB / 0.5156 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.209, allocations: 259.8 kB / 0.5159 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.209, allocations: 4 kB / 0.5159 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2091, allocations: 84.08 kB / 0.5159 GB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.2096, allocations: 80.34 kB / 0.516 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.213, allocations: 2.912 MB / 0.5189 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.2133, allocations: 0.7084 MB / 0.5196 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.2134, allocations: 24.33 kB / 0.5196 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.2135, allocations: 43.42 kB / 0.5196 GB, free: 5.605 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2135, allocations: 0 / 0.5196 GB, free: 5.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/0.4705, allocations: 29.44 MB / 0.5484 GB, free: 57.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.03, allocations: 12.91 kB / 0.5484 GB, free: 57.98 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.66552075099753] Failed to read output from testmodel.py, exit status != 0: 13.165401612997812 13.183848037 12.999988227 Calling exit ...