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.00089/0.00089, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009765/0.0009765, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9542/0.9542, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.02941/0.02941, allocations: 7.517 MB / 266.7 MB, free: 6.215 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 3.327e-06/3.327e-06, allocations: 0 / 391.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.653e-05, allocations: 2.281 kB / 391.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01644/0.01647, allocations: 15.84 MB / 407.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007272/0.02374, allocations: 8.951 MB / 416.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.02389, allocations: 0 / 416.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.0248, allocations: 251.7 kB / 416.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.02511, allocations: 131.6 kB / 416.9 MB, free: 13.12 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.01091/0.03602, allocations: 5.885 MB / 422.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.03624, allocations: 163.1 kB / 422.9 MB, free: 7.055 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.03629, allocations: 9.578 kB / 422.9 MB, free: 7.043 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.03654, allocations: 127.5 kB / 423.1 MB, free: 6.918 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.03661, allocations: 39.91 kB / 423.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.03662, allocations: 4 kB / 423.1 MB, free: 6.875 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009037/0.04566, allocations: 6.509 MB / 429.6 MB, free: 360 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.0457, allocations: 19.92 kB / 429.6 MB, free: 340 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.04578, allocations: 31.92 kB / 429.7 MB, free: 308 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.05412, allocations: 3.347 MB / 433 MB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.05413, allocations: 0 / 433 MB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.05413, allocations: 0 / 433 MB, free: 12.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.05414, allocations: 0 / 433 MB, free: 12.95 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.001573/0.05571, allocations: 0.7593 MB / 433.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.05576, allocations: 8.625 kB / 433.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.05579, allocations: 34.56 kB / 433.8 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.05589, allocations: 15.94 kB / 433.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.05612, allocations: 137 kB / 434 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.05613, allocations: 3.938 kB / 434 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.05615, allocations: 8 kB / 434 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.05638, allocations: 133.5 kB / 434.1 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.05638, allocations: 0 / 434.1 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.0564, allocations: 3.938 kB / 434.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.05641, allocations: 11.98 kB / 434.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.05663, allocations: 135.9 kB / 434.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.05701, allocations: 315.8 kB / 434.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.05718, allocations: 106.5 kB / 434.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.05729, allocations: 88.73 kB / 434.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00435/0.06164, allocations: 2.195 MB / 437 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.06167, allocations: 34.56 kB / 437 MB, free: 8.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.06167, allocations: 0 / 437 MB, free: 8.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005342/0.06221, allocations: 285.4 kB / 437.3 MB, free: 8.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.06224, allocations: 51.41 kB / 437.3 MB, free: 8.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.06235, allocations: 140.2 kB / 437.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.06236, allocations: 29.64 kB / 437.5 MB, free: 8.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.06241, allocations: 92.42 kB / 437.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.06245, allocations: 47.56 kB / 437.6 MB, free: 8.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.0625, allocations: 33.66 kB / 437.7 MB, free: 8.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.0626, allocations: 314.8 kB / 438 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.06272, allocations: 75.94 kB / 438 MB, free: 7.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.06282, allocations: 79.94 kB / 438.1 MB, free: 7.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.06334, allocations: 168.2 kB / 438.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.06334, allocations: 0 / 438.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002633/0.06361, allocations: 209.5 kB / 438.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.06362, allocations: 8 kB / 438.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.06363, allocations: 0 / 438.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.06365, allocations: 4 kB / 438.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.06373, allocations: 27.91 kB / 438.5 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.06374, allocations: 0 / 438.5 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.0638, allocations: 19.88 kB / 438.5 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.06381, allocations: 4 kB / 438.5 MB, free: 7.223 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 7.298e-05/0.06388, allocations: 114.5 kB / 438.7 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.0639, allocations: 15.89 kB / 438.7 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.06423, allocations: 234.2 kB / 438.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.06424, allocations: 0 / 438.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.06424, allocations: 0 / 438.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.06425, allocations: 0 / 438.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.06442, allocations: 180.6 kB / 439.1 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.06442, allocations: 0 / 439.1 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.06448, allocations: 27.97 kB / 439.1 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.06448, allocations: 7.938 kB / 439.1 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.0645, allocations: 4 kB / 439.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0645, allocations: 0 / 439.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0645, allocations: 0 / 439.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.0648, allocations: 307.3 kB / 439.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.06484, allocations: 19.92 kB / 439.4 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.06486, allocations: 3.938 kB / 439.4 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.06492, allocations: 19.97 kB / 439.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.06498, allocations: 15.98 kB / 439.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.06499, allocations: 4 kB / 439.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.06504, allocations: 99.27 kB / 439.6 MB, free: 6.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06504, allocations: 0 / 439.6 MB, free: 6.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001666/0.06671, allocations: 0.7396 MB / 440.3 MB, free: 5.371 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.00342/0.07013, allocations: 2.074 MB / 442.4 MB, free: 3.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.07048, allocations: 167.9 kB / 442.6 MB, free: 3.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.07048, allocations: 0 / 442.6 MB, free: 3.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.0706, allocations: 87.88 kB / 442.6 MB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.07089, allocations: 47.75 kB / 442.7 MB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.07318, allocations: 2.141 MB / 444.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.07325, allocations: 88.97 kB / 444.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.0733, allocations: 11.94 kB / 444.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.07335, allocations: 24.5 kB / 445 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.07335, allocations: 3.938 kB / 445 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/0.281, allocations: 26.9 MB / 471.9 MB, free: 87.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.976, allocations: 3.906 kB / 471.9 MB, free: 87.09 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.432907784357667] Failed to read output from testmodel.py, exit status != 0: 8.076958873309195 8.089147509 8.032462633 Calling exit ...