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.001325/0.001325, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001504/0.001504, allocations: 214 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.04928/0.04928, allocations: 9.135 MB / 321.6 MB, free: 10.22 MB / 254.1 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 0.001907/0.001907, allocations: 63.89 kB / 446.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1069, allocations: 54.94 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01975/0.1266, allocations: 15.87 MB / 0.5052 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.1364, allocations: 8.943 MB / 0.5139 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.1365, allocations: 4 kB / 0.5139 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.1372, allocations: 247.7 kB / 0.5142 GB, free: 400 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1375, allocations: 123.7 kB / 0.5143 GB, free: 276 kB / 382.1 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.2187/0.3562, allocations: 5.798 MB / 0.5199 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3564, allocations: 154.9 kB / 0.5201 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.3565, allocations: 7.844 kB / 0.5201 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.3567, allocations: 90.98 kB / 0.5202 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.3568, allocations: 49.78 kB / 0.5202 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3568, allocations: 3.312 kB / 0.5202 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/0.3679, allocations: 6.469 MB / 0.5266 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.368, allocations: 16.91 kB / 0.5266 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.3681, allocations: 44.89 kB / 0.5266 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005992/0.374, allocations: 2.884 MB / 0.5294 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.374, allocations: 6.578 kB / 0.5294 GB, free: 7.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3741, allocations: 0 / 0.5294 GB, free: 7.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3741, allocations: 1.562 kB / 0.5294 GB, free: 7.066 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.00163/0.3757, allocations: 0.7486 MB / 0.5302 GB, free: 6.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3757, allocations: 8.875 kB / 0.5302 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.3758, allocations: 38.62 kB / 0.5302 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.3759, allocations: 27.61 kB / 0.5302 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.3761, allocations: 135.2 kB / 0.5304 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3761, allocations: 10.16 kB / 0.5304 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3761, allocations: 2.188 kB / 0.5304 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.3764, allocations: 118.4 kB / 0.5305 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3764, allocations: 2.734 kB / 0.5305 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3765, allocations: 3.969 kB / 0.5305 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3765, allocations: 8.688 kB / 0.5305 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.3768, allocations: 147.6 kB / 0.5307 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.3772, allocations: 314.8 kB / 0.531 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3775, allocations: 99.77 kB / 0.531 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3777, allocations: 87.27 kB / 0.5311 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007978/0.3857, allocations: 2.194 MB / 0.5333 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3857, allocations: 36.97 kB / 0.5333 GB, free: 5.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3857, allocations: 3.438 kB / 0.5333 GB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000739/0.3864, allocations: 298.1 kB / 0.5336 GB, free: 5.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.3864, allocations: 53.62 kB / 0.5336 GB, free: 5.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.3865, allocations: 140.8 kB / 0.5338 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3865, allocations: 25.7 kB / 0.5338 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.3866, allocations: 99.31 kB / 0.5339 GB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3866, allocations: 39.61 kB / 0.5339 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.3866, allocations: 24.67 kB / 0.534 GB, free: 5.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.3867, allocations: 322.7 kB / 0.5343 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3869, allocations: 75.81 kB / 0.5343 GB, free: 4.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.3871, allocations: 81.17 kB / 0.5344 GB, free: 4.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.3874, allocations: 167.4 kB / 0.5346 GB, free: 4.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3874, allocations: 1.75 kB / 0.5346 GB, free: 4.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000412/0.3879, allocations: 210.4 kB / 0.5348 GB, free: 4.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3879, allocations: 8.344 kB / 0.5348 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3879, allocations: 0 / 0.5348 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3879, allocations: 1.125 kB / 0.5348 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.388, allocations: 19.55 kB / 0.5348 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.388, allocations: 1.562 kB / 0.5348 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3881, allocations: 24.28 kB / 0.5348 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3882, allocations: 1.281 kB / 0.5348 GB, free: 4.785 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 6.067e-05/0.3882, allocations: 125.8 kB / 0.535 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3882, allocations: 17.22 kB / 0.535 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.3888, allocations: 225.8 kB / 0.5352 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3888, allocations: 4.812 kB / 0.5352 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3888, allocations: 0 / 0.5352 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3888, allocations: 9.078 kB / 0.5352 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3889, allocations: 178.1 kB / 0.5354 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3889, allocations: 5.062 kB / 0.5354 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.389, allocations: 27.19 kB / 0.5354 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.389, allocations: 4.875 kB / 0.5354 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3891, allocations: 1 kB / 0.5354 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3891, allocations: 0 / 0.5354 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3891, allocations: 1.094 kB / 0.5354 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.3895, allocations: 307.4 kB / 0.5357 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.3895, allocations: 27.55 kB / 0.5357 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3896, allocations: 1.094 kB / 0.5357 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3897, allocations: 12.45 kB / 0.5357 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.3897, allocations: 10.83 kB / 0.5357 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3897, allocations: 1.062 kB / 0.5358 GB, free: 4.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.3898, allocations: 108.9 kB / 0.5359 GB, free: 4.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3898, allocations: 1.094 kB / 0.5359 GB, free: 4.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002433/0.3922, allocations: 0.7404 MB / 0.5366 GB, free: 3.926 MB / 382.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.003408/0.3956, allocations: 1.986 MB / 0.5385 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.3961, allocations: 166.7 kB / 0.5387 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3961, allocations: 2.641 kB / 0.5387 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3963, allocations: 88 kB / 0.5388 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3967, allocations: 44.55 kB / 0.5388 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3993, allocations: 2.148 MB / 0.5409 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.3993, allocations: 90.11 kB / 0.541 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.3994, allocations: 11.52 kB / 0.541 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.3994, allocations: 24.59 kB / 0.541 GB, free: 1.199 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3994, allocations: 4 kB / 0.541 GB, free: 1.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.4622, allocations: 26.67 MB / 0.5671 GB, free: 11.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.49, allocations: 3.938 kB / 0.5671 GB, free: 11.43 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.431697895750403] Failed to read output from testmodel.py, exit status != 0: 12.608973383903503 12.625276853 12.24796903 Calling exit ...