Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.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.001053/0.001053, allocations: 101.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.00167/0.00167, allocations: 221.8 kB / 22.25 MB, free: 3.559 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.028/1.028, allocations: 230.6 MB / 256 MB, free: 9.594 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.04443/0.04443, allocations: 14.03 MB / 326.5 MB, free: 4.574 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.Properties.TransportAmmonia,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_TransportAmmonia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.TransportAmmonia,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_TransportAmmonia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 70.3 kB / 453.4 MB, free: 33.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 55.95 MB / 0.4975 GB, free: 9.676 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportAmmonia): time 0.03957/0.1497, allocations: 51.88 MB / 0.5481 GB, free: 5.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.153, allocations: 3.688 MB / 0.5517 GB, free: 1.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.153, allocations: 4 kB / 0.5517 GB, free: 1.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.1536, allocations: 195.9 kB / 0.5519 GB, free: 1.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1537, allocations: 59.73 kB / 0.552 GB, free: 1.645 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.Properties.TransportAmmonia.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.3477/0.5014, allocations: 9.872 MB / 0.5616 GB, free: 5.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.5017, allocations: 141.5 kB / 0.5617 GB, free: 5.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.5017, allocations: 10.09 kB / 0.5618 GB, free: 5.953 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.5019, allocations: 100.5 kB / 0.5619 GB, free: 5.953 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01481/0.5168, allocations: 12.81 MB / 0.5744 GB, free: 5.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.5168, allocations: 3.125 kB / 0.5744 GB, free: 5.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/0.5352, allocations: 9.176 MB / 0.5833 GB, free: 3.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.5353, allocations: 26.03 kB / 0.5834 GB, free: 3.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.5354, allocations: 42.53 kB / 0.5834 GB, free: 3.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.5459, allocations: 3.819 MB / 0.5871 GB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5459, allocations: 0 / 0.5871 GB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5459, allocations: 0.6562 kB / 0.5871 GB, free: 2.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.5459, allocations: 0 / 0.5871 GB, free: 2.527 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001152/0.5471, allocations: 0.9961 MB / 0.5881 GB, free: 1.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.5471, allocations: 8.031 kB / 0.5881 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.5471, allocations: 35.22 kB / 0.5881 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.5473, allocations: 23.81 kB / 0.5882 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.5474, allocations: 120.7 kB / 0.5883 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5474, allocations: 4 kB / 0.5883 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.5474, allocations: 12.67 kB / 0.5883 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.5476, allocations: 147 kB / 0.5884 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5476, allocations: 0 / 0.5884 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.5477, allocations: 4 kB / 0.5884 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.5477, allocations: 0 / 0.5884 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.5478, allocations: 96.05 kB / 0.5885 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.5479, allocations: 140.4 kB / 0.5887 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.548, allocations: 111 kB / 0.5888 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.5481, allocations: 102 kB / 0.5889 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5481, allocations: 2.953 kB / 0.5889 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.5482, allocations: 80.17 kB / 0.5889 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.502e-06/0.5482, allocations: 1.203 kB / 0.5889 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004057/0.5486, allocations: 370.2 kB / 0.5893 GB, free: 356 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5486, allocations: 92.53 kB / 0.5894 GB, free: 248 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5487, allocations: 135.9 kB / 0.5895 GB, free: 116 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5487, allocations: 29.73 kB / 0.5895 GB, free: 80 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.5488, allocations: 82.77 kB / 0.5896 GB, free: 16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.5488, allocations: 28.38 kB / 0.5897 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.5489, allocations: 41.95 kB / 0.5897 GB, free: 15.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.549, allocations: 326.2 kB / 0.59 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.5491, allocations: 90.11 kB / 0.5901 GB, free: 15.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.5492, allocations: 93.66 kB / 0.5902 GB, free: 15.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.5494, allocations: 200.6 kB / 0.5904 GB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5494, allocations: 0 / 0.5904 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000265/0.5497, allocations: 260.2 kB / 0.5906 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.5497, allocations: 53.05 kB / 0.5907 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5497, allocations: 4 kB / 0.5907 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5497, allocations: 0 / 0.5907 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.5497, allocations: 0 / 0.5907 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5498, allocations: 0.6562 kB / 0.5907 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.5499, allocations: 15.94 kB / 0.5907 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.5499, allocations: 8 kB / 0.5907 GB, free: 15.01 MB / 426.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: 11 (err,lambda,eta,state.s,state.h,state.u,state.d,state.p,state.T,state.phase,nFailed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001394/0.55, allocations: 179.7 kB / 0.5909 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.5501, allocations: 11.95 kB / 0.5909 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.5501, allocations: 9.031 kB / 0.5909 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5501, allocations: 4 kB / 0.5909 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5501, allocations: 0 / 0.5909 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5501, allocations: 0 / 0.5909 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.5502, allocations: 156.5 kB / 0.591 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5502, allocations: 0 / 0.591 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.5502, allocations: 3.094 kB / 0.591 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5502, allocations: 4 kB / 0.591 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.5502, allocations: 10.64 kB / 0.5911 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5502, allocations: 0 / 0.5911 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5502, allocations: 3.75 kB / 0.5911 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.5506, allocations: 340.6 kB / 0.5914 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.5507, allocations: 33.89 kB / 0.5914 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.5507, allocations: 8.625 kB / 0.5914 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.5508, allocations: 7.984 kB / 0.5914 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.5508, allocations: 3.859 kB / 0.5914 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.5508, allocations: 15.23 kB / 0.5915 GB, free: 14.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.5509, allocations: 103.5 kB / 0.5916 GB, free: 14.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5509, allocations: 0 / 0.5916 GB, free: 14.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001094/0.552, allocations: 0.674 MB / 0.5922 GB, free: 13.52 MB / 426.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: 11 (nFailed,state.phase,state.T,state.p,state.d,state.u,state.h,state.s,eta,lambda,err) * Number of discrete states: 11 (lambda,err,eta,state.s,state.h,state.u,state.d,state.p,state.T,state.phase,nFailed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.002685/0.5547, allocations: 2.045 MB / 0.5942 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.555, allocations: 303.9 kB / 0.5945 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.555, allocations: 0.7656 kB / 0.5945 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.5551, allocations: 183 kB / 0.5947 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.5553, allocations: 41.69 kB / 0.5947 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.5562, allocations: 0.5842 MB / 0.5953 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.5562, allocations: 79.97 kB / 0.5954 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.5563, allocations: 0 / 0.5954 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.5563, allocations: 15.25 kB / 0.5954 GB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5563, allocations: 0 / 0.5954 GB, free: 10.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/0.6595, allocations: 18.13 MB / 0.6131 GB, free: 8.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.519, allocations: 6.375 kB / 0.6131 GB, free: 8.68 MB / 442.7 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Properties_TransportAmmonia_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_TransportAmmonia.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_TransportAmmonia.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.07174932770431]