Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_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.002052/0.002052, allocations: 101.7 kB / 16.45 MB, free: 6.449 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.002679/0.002679, allocations: 212 kB / 19.43 MB, free: 3.637 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.479/1.479, allocations: 207.6 MB / 229.8 MB, free: 11.4 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.05654/0.05654, allocations: 9.148 MB / 290.8 MB, free: 13.99 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.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_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.00327/0.00327, allocations: 71.98 kB / 405.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1039, allocations: 50.71 MB / 456.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02767/0.1316, allocations: 17.48 MB / 474 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1456, allocations: 10.12 MB / 484.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1458, allocations: 0 / 484.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1468, allocations: 299.7 kB / 484.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.1473, allocations: 155.2 kB / 484.6 MB, free: 2.098 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.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01747/0.1648, allocations: 5.843 MB / 490.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.1651, allocations: 151.1 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1652, allocations: 5.406 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.1655, allocations: 99.5 kB / 490.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.1656, allocations: 43.84 kB / 490.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1656, allocations: 8 kB / 490.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/0.1824, allocations: 9.205 MB / 500 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1825, allocations: 15.86 kB / 500 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1826, allocations: 51.78 kB / 0.4883 GB, free: 2.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.1934, allocations: 3.507 MB / 0.4917 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1934, allocations: 0 / 0.4917 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1935, allocations: 0 / 0.4917 GB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1935, allocations: 0 / 0.4917 GB, free: 15.13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002139/0.1956, allocations: 0.8229 MB / 0.4925 GB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1956, allocations: 16.03 kB / 0.4926 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.1957, allocations: 30.56 kB / 0.4926 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.1957, allocations: 11.95 kB / 0.4926 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1959, allocations: 183.7 kB / 0.4928 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1959, allocations: 4 kB / 0.4928 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.196, allocations: 4 kB / 0.4928 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.1963, allocations: 117.6 kB / 0.4929 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1964, allocations: 3.984 kB / 0.4929 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1964, allocations: 4 kB / 0.4929 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1964, allocations: 0 / 0.4929 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.1968, allocations: 139.9 kB / 0.493 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.1974, allocations: 356.7 kB / 0.4934 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.1977, allocations: 102.5 kB / 0.4935 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.198, allocations: 84.8 kB / 0.4935 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01324/0.2112, allocations: 8.378 MB / 0.5017 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2113, allocations: 38.56 kB / 0.5018 GB, free: 3.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.2113, allocations: 0 / 0.5018 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008952/0.2122, allocations: 289.2 kB / 0.502 GB, free: 2.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2122, allocations: 55.34 kB / 0.5021 GB, free: 2.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2123, allocations: 137.4 kB / 0.5022 GB, free: 2.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2124, allocations: 29.7 kB / 0.5023 GB, free: 2.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.2124, allocations: 88.42 kB / 0.5023 GB, free: 2.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.2125, allocations: 43.58 kB / 0.5024 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.2125, allocations: 29.7 kB / 0.5024 GB, free: 2.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2127, allocations: 322.8 kB / 0.5027 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.2129, allocations: 71.95 kB / 0.5028 GB, free: 2.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2131, allocations: 71.94 kB / 0.5029 GB, free: 1.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.2136, allocations: 164.7 kB / 0.503 GB, free: 1.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2136, allocations: 0 / 0.503 GB, free: 1.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005219/0.2141, allocations: 209.5 kB / 0.5032 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2141, allocations: 8 kB / 0.5032 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2141, allocations: 0 / 0.5032 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2141, allocations: 3.984 kB / 0.5032 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2143, allocations: 19.98 kB / 0.5032 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.2143, allocations: 0 / 0.5032 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2144, allocations: 19.91 kB / 0.5033 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2145, allocations: 4 kB / 0.5033 GB, free: 1.547 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001018/0.2146, allocations: 121.3 kB / 0.5034 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.2146, allocations: 19.91 kB / 0.5034 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006239/0.2152, allocations: 222.3 kB / 0.5036 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.2152, allocations: 0 / 0.5036 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2152, allocations: 4 kB / 0.5036 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2152, allocations: 0 / 0.5036 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.2155, allocations: 221.4 kB / 0.5038 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2155, allocations: 0 / 0.5038 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2156, allocations: 19.98 kB / 0.5038 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2156, allocations: 3.984 kB / 0.5038 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2157, allocations: 0 / 0.5038 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2157, allocations: 4 kB / 0.5039 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2157, allocations: 4 kB / 0.5039 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.2162, allocations: 311.1 kB / 0.5042 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.2163, allocations: 93.05 kB / 0.5042 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.2163, allocations: 4 kB / 0.5042 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.2165, allocations: 19.97 kB / 0.5043 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2165, allocations: 7.984 kB / 0.5043 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2166, allocations: 7.938 kB / 0.5043 GB, free: 424 kB / 382.1 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.2166, allocations: 95.27 kB / 0.5044 GB, free: 328 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2166, allocations: 0 / 0.5044 GB, free: 328 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001997/0.2186, allocations: 0.7435 MB / 0.5051 GB, free: 15.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004819/0.2234, allocations: 1.984 MB / 0.507 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.224, allocations: 159.9 kB / 0.5072 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2241, allocations: 8 kB / 0.5072 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.2243, allocations: 88.5 kB / 0.5073 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.2247, allocations: 32.11 kB / 0.5073 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.2265, allocations: 0.6153 MB / 0.5079 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.2269, allocations: 0.7002 MB / 0.5086 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.2269, allocations: 0 / 0.5086 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.227, allocations: 35.42 kB / 0.5086 GB, free: 11.87 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.227, allocations: 0 / 0.5086 GB, free: 11.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06413/0.2911, allocations: 25.82 MB / 0.5338 GB, free: 2.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.852/10.14, allocations: 8.5 kB / 0.5338 GB, free: 2.066 MB / 414.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.139049127232283] Failed to read output from testmodel.py, exit status != 0: 10.236600035335869 10.456313941 10.260201975 Calling exit ...