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.0008507/0.0008507, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009544/0.0009544, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8855/0.8855, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02895/0.02895, allocations: 7.52 MB / 266.7 MB, free: 6.195 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.886e-05, allocations: 2.281 kB / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01334/0.01335, allocations: 15.85 MB / 407.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005989/0.01934, allocations: 8.943 MB / 416.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.01941, allocations: 0 / 416.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.01989, allocations: 247.7 kB / 416.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.02012, allocations: 135.6 kB / 416.9 MB, free: 13.11 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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.008419/0.02854, allocations: 5.887 MB / 422.8 MB, free: 7.207 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.02871, allocations: 167.1 kB / 422.9 MB, free: 7.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.02875, allocations: 13.58 kB / 423 MB, free: 7.027 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.02898, allocations: 119.6 kB / 423.1 MB, free: 6.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.02903, allocations: 35.91 kB / 423.1 MB, free: 6.875 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.02905, allocations: 7.938 kB / 423.1 MB, free: 6.867 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/0.03539, allocations: 6.513 MB / 429.6 MB, free: 348 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.03542, allocations: 15.92 kB / 429.6 MB, free: 332 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.03547, allocations: 31.92 kB / 429.7 MB, free: 300 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.03992, allocations: 3.343 MB / 433 MB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.03993, allocations: 0 / 433 MB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.03993, allocations: 0 / 433 MB, free: 12.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.03994, allocations: 8 kB / 433 MB, free: 12.93 MB / 410.7 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.0009877/0.04092, allocations: 0.7538 MB / 433.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.04097, allocations: 16.61 kB / 433.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.04099, allocations: 30.56 kB / 433.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.269e-05/0.04108, allocations: 19.94 kB / 433.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.04127, allocations: 133 kB / 434 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.04128, allocations: 7.938 kB / 434 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.04129, allocations: 7.984 kB / 434 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.04149, allocations: 121.6 kB / 434.1 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.0415, allocations: 0 / 434.1 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.04151, allocations: 7.938 kB / 434.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.04151, allocations: 7.984 kB / 434.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.04173, allocations: 135.9 kB / 434.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.04205, allocations: 323.8 kB / 434.6 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.04221, allocations: 102.5 kB / 434.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.04232, allocations: 88.73 kB / 434.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004255/0.04658, allocations: 2.191 MB / 436.9 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.0466, allocations: 42.55 kB / 437 MB, free: 8.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.04661, allocations: 0 / 437 MB, free: 8.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00046/0.04707, allocations: 285.4 kB / 437.3 MB, free: 8.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.0471, allocations: 51.41 kB / 437.3 MB, free: 8.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.04717, allocations: 139 kB / 437.5 MB, free: 8.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.04719, allocations: 25.7 kB / 437.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.04722, allocations: 96.42 kB / 437.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.04725, allocations: 43.58 kB / 437.6 MB, free: 8.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.04729, allocations: 25.67 kB / 437.6 MB, free: 8.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.04737, allocations: 322.8 kB / 438 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.04747, allocations: 75.94 kB / 438 MB, free: 7.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.04758, allocations: 79.88 kB / 438.1 MB, free: 7.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.04779, allocations: 172.4 kB / 438.3 MB, free: 7.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.04779, allocations: 4 kB / 438.3 MB, free: 7.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002604/0.04805, allocations: 213.4 kB / 438.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.04806, allocations: 4 kB / 438.5 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.04807, allocations: 4 kB / 438.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.04808, allocations: 0 / 438.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.04816, allocations: 23.97 kB / 438.5 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.04816, allocations: 0 / 438.5 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.04822, allocations: 15.94 kB / 438.5 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.04823, allocations: 4 kB / 438.5 MB, free: 7.219 MB / 410.7 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 6.448e-05/0.04829, allocations: 114.5 kB / 438.7 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.04831, allocations: 15.88 kB / 438.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.04862, allocations: 238.2 kB / 438.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.04863, allocations: 0 / 438.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.04863, allocations: 0 / 438.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.04864, allocations: 4 kB / 438.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.04877, allocations: 180.6 kB / 439.1 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.04877, allocations: 0 / 439.1 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.04883, allocations: 27.98 kB / 439.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.04883, allocations: 3.938 kB / 439.1 MB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.04884, allocations: 3.984 kB / 439.1 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.04884, allocations: 0 / 439.1 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.04884, allocations: 0 / 439.1 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.04912, allocations: 311.2 kB / 439.4 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.04915, allocations: 19.94 kB / 439.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.04916, allocations: 4 kB / 439.4 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.04923, allocations: 11.98 kB / 439.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.04927, allocations: 15.97 kB / 439.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.04928, allocations: 7.984 kB / 439.5 MB, free: 6.203 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.04932, allocations: 106.2 kB / 439.6 MB, free: 6.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04932, allocations: 0 / 439.6 MB, free: 6.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009118/0.05023, allocations: 0.7435 MB / 440.3 MB, free: 5.355 MB / 410.7 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.002523/0.05276, allocations: 2.064 MB / 442.4 MB, free: 3.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.05305, allocations: 171.9 kB / 442.6 MB, free: 3.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.05305, allocations: 0 / 442.6 MB, free: 3.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.05316, allocations: 87.88 kB / 442.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.05342, allocations: 51.75 kB / 442.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.05526, allocations: 2.141 MB / 444.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.05532, allocations: 88.98 kB / 444.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.05536, allocations: 7.984 kB / 444.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.0554, allocations: 28.5 kB / 445 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.0554, allocations: 0 / 445 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1803/0.2357, allocations: 26.75 MB / 471.7 MB, free: 87.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.889, allocations: 13.28 kB / 471.7 MB, free: 87.21 MB / 410.7 MB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 10.284327302128077] Failed to read output from testmodel.py, exit status != 0: 7.99708506744355 8.010603719 7.968785382 Calling exit ...