Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.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.0009833/0.0009833, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001026/0.001026, allocations: 216.7 kB / 22.25 MB, free: 3.574 MB / 13.93 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.026/1.026, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.04507/0.04507, allocations: 14.03 MB / 326.5 MB, free: 4.586 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Convergence.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Convergence.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 71.22 kB / 453.4 MB, free: 33.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1212, allocations: 55.95 MB / 0.4974 GB, free: 9.699 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.SinglePhase_Transport): time 0.04333/0.1645, allocations: 52.28 MB / 0.5485 GB, free: 5.227 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.1685, allocations: 3.711 MB / 0.5521 GB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1686, allocations: 4 kB / 0.5521 GB, free: 1.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.1693, allocations: 203.8 kB / 0.5523 GB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.1696, allocations: 143.5 kB / 0.5525 GB, free: 1.16 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Internal/Transport/thermalConductivity_dilute.mo:2:1-86:31:writable] Warning: Pure function 'HelmholtzMedia.Validation.Convergence.SinglePhase_Transport.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.3294/0.499, allocations: 12.8 MB / 0.565 GB, free: 5.711 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.4993, allocations: 159.3 kB / 0.5651 GB, free: 5.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.4994, allocations: 5.344 kB / 0.5651 GB, free: 5.711 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.4997, allocations: 104.6 kB / 0.5652 GB, free: 5.711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.4998, allocations: 46.78 kB / 0.5653 GB, free: 5.711 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.4998, allocations: 5.031 kB / 0.5653 GB, free: 5.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/0.5252, allocations: 12.42 MB / 0.5774 GB, free: 5.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.5253, allocations: 18.47 kB / 0.5774 GB, free: 5.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.5254, allocations: 40.72 kB / 0.5774 GB, free: 5.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5396, allocations: 4.883 MB / 0.5822 GB, free: 3.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.5396, allocations: 3.562 kB / 0.5822 GB, free: 3.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5396, allocations: 0 / 0.5822 GB, free: 3.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.5396, allocations: 0.6562 kB / 0.5822 GB, free: 3.965 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.001906/0.5415, allocations: 1.112 MB / 0.5833 GB, free: 3.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.5416, allocations: 9.328 kB / 0.5833 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.5417, allocations: 33.56 kB / 0.5833 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.5418, allocations: 29.08 kB / 0.5834 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.5421, allocations: 129.5 kB / 0.5835 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5421, allocations: 11.41 kB / 0.5835 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.5421, allocations: 2.844 kB / 0.5835 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.5423, allocations: 105.7 kB / 0.5836 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5423, allocations: 0 / 0.5836 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5424, allocations: 3 kB / 0.5836 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.5424, allocations: 6.516 kB / 0.5836 GB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.5426, allocations: 97.09 kB / 0.5837 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.543, allocations: 304 kB / 0.584 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.5431, allocations: 82.97 kB / 0.5841 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.5433, allocations: 73.66 kB / 0.5841 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002864/0.5461, allocations: 1.821 MB / 0.5859 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.5462, allocations: 37.06 kB / 0.586 GB, free: 2.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.716e-06/0.5462, allocations: 0 / 0.586 GB, free: 2.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00051/0.5467, allocations: 226.5 kB / 0.5862 GB, free: 1.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.5467, allocations: 56.44 kB / 0.5862 GB, free: 1.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.5468, allocations: 136.4 kB / 0.5864 GB, free: 1.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.5468, allocations: 29 kB / 0.5864 GB, free: 1.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.5469, allocations: 96.05 kB / 0.5865 GB, free: 1.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.5469, allocations: 44.08 kB / 0.5865 GB, free: 1.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.5469, allocations: 20.38 kB / 0.5865 GB, free: 1.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.547, allocations: 329.6 kB / 0.5869 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5471, allocations: 56.48 kB / 0.5869 GB, free: 1.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.5472, allocations: 62.97 kB / 0.587 GB, free: 1.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.5474, allocations: 130.6 kB / 0.5871 GB, free: 1.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5474, allocations: 0 / 0.5871 GB, free: 1.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002623/0.5477, allocations: 167.8 kB / 0.5873 GB, free: 1.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5477, allocations: 5.688 kB / 0.5873 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5477, allocations: 0 / 0.5873 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5477, allocations: 3.938 kB / 0.5873 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.5478, allocations: 33.44 kB / 0.5873 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5478, allocations: 2.344 kB / 0.5873 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.5479, allocations: 19.05 kB / 0.5873 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.5479, allocations: 2.812 kB / 0.5873 GB, free: 1.129 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.096e-05/0.548, allocations: 122.5 kB / 0.5874 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.548, allocations: 11.84 kB / 0.5874 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.5483, allocations: 200.2 kB / 0.5876 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5483, allocations: 0 / 0.5876 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5483, allocations: 3.812 kB / 0.5876 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5483, allocations: 5.141 kB / 0.5876 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.5484, allocations: 170.9 kB / 0.5878 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5484, allocations: 3.984 kB / 0.5878 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.5485, allocations: 20.7 kB / 0.5878 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5485, allocations: 4 kB / 0.5878 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5485, allocations: 0 / 0.5878 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5485, allocations: 6.859 kB / 0.5878 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5485, allocations: 0 / 0.5878 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.5488, allocations: 267.8 kB / 0.5881 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.5488, allocations: 21.45 kB / 0.5881 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.5488, allocations: 3.594 kB / 0.5881 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.5489, allocations: 18.48 kB / 0.5881 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.5489, allocations: 11.56 kB / 0.5882 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.5489, allocations: 3.938 kB / 0.5882 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.051e-05/0.549, allocations: 105.2 kB / 0.5883 GB, free: 464 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.549, allocations: 0.5469 kB / 0.5883 GB, free: 464 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001213/0.5502, allocations: 0.7607 MB / 0.589 GB, free: 288 kB / 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.00246/0.5526, allocations: 1.946 MB / 0.5909 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.5529, allocations: 138.7 kB / 0.591 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5529, allocations: 0 / 0.591 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.553, allocations: 69.88 kB / 0.5911 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.5533, allocations: 59.02 kB / 0.5912 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.5553, allocations: 2.031 MB / 0.5931 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.414e-05/0.5553, allocations: 84.84 kB / 0.5932 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.5554, allocations: 8 kB / 0.5932 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.5554, allocations: 33.73 kB / 0.5933 GB, free: 12.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5554, allocations: 0.6562 kB / 0.5933 GB, free: 12.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/0.6587, allocations: 18.74 MB / 0.6116 GB, free: 10.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/9.101, allocations: 13.38 kB / 0.6116 GB, free: 10.29 MB / 442.7 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_Transport_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_Transport.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport_fmpy_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_Validation_Convergence_SinglePhase_Transport.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_Transport_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.794651849195361]