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.001649/0.001649, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001955/0.001955, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.392/1.392, allocations: 207.6 MB / 229.8 MB, free: 11.39 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.05255/0.05255, allocations: 9.152 MB / 290.8 MB, free: 13.9 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.00223/0.00223, allocations: 83.94 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06665/0.06888, allocations: 50.72 MB / 456.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02226/0.09114, allocations: 17.37 MB / 473.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.1078, allocations: 14.29 MB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.108, allocations: 4 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.109, allocations: 419.6 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.1122, allocations: 1.574 MB / 490.2 MB, free: 12.44 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.01268/0.1249, allocations: 5.106 MB / 495.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1252, allocations: 151.1 kB / 495.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.781e-05/0.1252, allocations: 13.11 kB / 495.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1254, allocations: 59.73 kB / 495.5 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.1254, allocations: 55.66 kB / 495.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1254, allocations: 0 / 495.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.1432, allocations: 10.03 MB / 0.4938 GB, free: 13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.1433, allocations: 11.92 kB / 0.4938 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1434, allocations: 59.67 kB / 0.4938 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.1539, allocations: 3.799 MB / 0.4976 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1539, allocations: 0 / 0.4976 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1539, allocations: 0 / 0.4976 GB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1539, allocations: 3.938 kB / 0.4976 GB, free: 9.113 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.001783/0.1557, allocations: 0.8617 MB / 0.4984 GB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1557, allocations: 12.03 kB / 0.4984 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.1558, allocations: 50.48 kB / 0.4985 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1559, allocations: 19.89 kB / 0.4985 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1561, allocations: 175 kB / 0.4986 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1561, allocations: 4 kB / 0.4986 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1561, allocations: 7.938 kB / 0.4987 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1564, allocations: 218.6 kB / 0.4989 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1564, allocations: 7.875 kB / 0.4989 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1564, allocations: 0 / 0.4989 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1565, allocations: 11.98 kB / 0.4989 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.1569, allocations: 416.1 kB / 0.4993 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.1573, allocations: 315.2 kB / 0.4996 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1575, allocations: 174.8 kB / 0.4997 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.1577, allocations: 173.1 kB / 0.4999 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01767/0.1754, allocations: 10.03 MB / 0.5097 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.1754, allocations: 38.5 kB / 0.5097 GB, free: 10.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.1754, allocations: 0 / 0.5097 GB, free: 10.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008202/0.1763, allocations: 0.5852 MB / 0.5103 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1763, allocations: 51.41 kB / 0.5104 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.1764, allocations: 93.86 kB / 0.5104 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1764, allocations: 25.7 kB / 0.5105 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1765, allocations: 88.92 kB / 0.5106 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1766, allocations: 134.8 kB / 0.5107 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.1766, allocations: 41.7 kB / 0.5107 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1768, allocations: 326.8 kB / 0.511 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.177, allocations: 159.9 kB / 0.5112 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1772, allocations: 175.7 kB / 0.5114 GB, free: 8.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.1776, allocations: 363.6 kB / 0.5117 GB, free: 8.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1776, allocations: 0 / 0.5117 GB, free: 8.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005018/0.1781, allocations: 414.9 kB / 0.5121 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1782, allocations: 8 kB / 0.5121 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1782, allocations: 0 / 0.5121 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1782, allocations: 0 / 0.5121 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1783, allocations: 23.92 kB / 0.5121 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1783, allocations: 0 / 0.5121 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.1784, allocations: 15.83 kB / 0.5121 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1784, allocations: 8 kB / 0.5122 GB, free: 8.133 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 0.0001067/0.1785, allocations: 117.3 kB / 0.5123 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1785, allocations: 23.78 kB / 0.5123 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.1793, allocations: 0.6162 MB / 0.5129 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1793, allocations: 4 kB / 0.5129 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1793, allocations: 0 / 0.5129 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1793, allocations: 0 / 0.5129 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1803, allocations: 0.9046 MB / 0.5138 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1803, allocations: 4 kB / 0.5138 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.1804, allocations: 19.98 kB / 0.5138 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1804, allocations: 7.984 kB / 0.5138 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1804, allocations: 8.344 kB / 0.5138 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.1804, allocations: 15.88 kB / 0.5138 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1804, allocations: 0 / 0.5138 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.1808, allocations: 265.4 kB / 0.5141 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.1808, allocations: 89.09 kB / 0.5142 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.1809, allocations: 15.89 kB / 0.5142 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.181, allocations: 3.938 kB / 0.5142 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.181, allocations: 23.92 kB / 0.5142 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.181, allocations: 4 kB / 0.5142 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.1812, allocations: 171.2 kB / 0.5144 GB, free: 5.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1812, allocations: 0 / 0.5144 GB, free: 5.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002124/0.1833, allocations: 0.8137 MB / 0.5152 GB, free: 4.773 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.004463/0.1878, allocations: 2.053 MB / 0.5172 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.1882, allocations: 251.7 kB / 0.5174 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1882, allocations: 0 / 0.5174 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1883, allocations: 83.83 kB / 0.5175 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.1889, allocations: 88.52 kB / 0.5176 GB, free: 2.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.1925, allocations: 2.849 MB / 0.5204 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1929, allocations: 0.7084 MB / 0.5211 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.94e-05/0.193, allocations: 12.48 kB / 0.5211 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.1931, allocations: 43.42 kB / 0.5211 GB, free: 14.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1931, allocations: 4 kB / 0.5211 GB, free: 14.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.244/0.437, allocations: 29.27 MB / 0.5497 GB, free: 74.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.551/9.988, allocations: 4.75 kB / 0.5497 GB, free: 74.85 MB / 414.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.497853464912623] Failed to read output from testmodel.py, exit status != 0: 10.079965866170824 10.090746638 9.934617996 Calling exit ...