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.0009873/0.0009873, 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.001001/0.001001, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9922/0.9922, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.04405/0.04405, allocations: 11.36 MB / 270.6 MB, free: 2.566 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 1.663e-06/1.663e-06, allocations: 0 / 397.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.067e-05, allocations: 2.281 kB / 397.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportAmmonia): time 0.2779/0.2779, allocations: 51.86 MB / 449.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.2819, allocations: 3.684 MB / 453.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.2819, allocations: 3.938 kB / 453.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.2824, allocations: 196 kB / 453.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.2825, allocations: 57.36 kB / 453.4 MB, free: 8.203 MB / 346.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.02385/0.3063, allocations: 10.05 MB / 463.5 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3066, allocations: 147.5 kB / 463.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.3067, allocations: 4 kB / 463.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.3069, allocations: 107.8 kB / 463.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01398/0.3209, allocations: 12.9 MB / 476.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.321, allocations: 1.875 kB / 476.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02129/0.3423, allocations: 9.248 MB / 485.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.3423, allocations: 19.92 kB / 485.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/0.3424, allocations: 39.92 kB / 485.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00978/0.3522, allocations: 4.539 MB / 490.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3522, allocations: 0 / 490.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3522, allocations: 0 / 490.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3522, allocations: 4 kB / 490.5 MB, free: 5.188 MB / 378.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.001246/0.3535, allocations: 0.9896 MB / 491.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3535, allocations: 12.03 kB / 491.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.3536, allocations: 34.56 kB / 491.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3537, allocations: 27.88 kB / 491.5 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.947e-05/0.3538, allocations: 121.1 kB / 491.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3538, allocations: 4 kB / 491.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3538, allocations: 4 kB / 491.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.354, allocations: 151.2 kB / 491.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.354, allocations: 0 / 491.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.3541, allocations: 12 kB / 491.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3541, allocations: 7.875 kB / 491.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.3542, allocations: 89.66 kB / 491.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.3544, allocations: 148.6 kB / 492.1 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3545, allocations: 112.2 kB / 492.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.3545, allocations: 102.5 kB / 492.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-06/0.3545, allocations: 3.938 kB / 492.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.3546, allocations: 77.11 kB / 492.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3546, allocations: 0 / 492.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000396/0.355, allocations: 374.5 kB / 492.7 MB, free: 2.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.355, allocations: 97.12 kB / 492.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.3551, allocations: 135.2 kB / 493 MB, free: 2.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3551, allocations: 29.7 kB / 493 MB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.3552, allocations: 84.08 kB / 493.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3552, allocations: 19.8 kB / 493.1 MB, free: 2.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3552, allocations: 49.64 kB / 493.1 MB, free: 2.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.3553, allocations: 314.8 kB / 493.4 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.3554, allocations: 97.66 kB / 493.5 MB, free: 1.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.3555, allocations: 97.59 kB / 493.6 MB, free: 1.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3556, allocations: 205.4 kB / 493.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3556, allocations: 0 / 493.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000215/0.3558, allocations: 261 kB / 494.1 MB, free: 1.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.3559, allocations: 53.67 kB / 494.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3559, allocations: 0 / 494.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3559, allocations: 0 / 494.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.3559, allocations: 5.062 kB / 494.1 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3559, allocations: 0 / 494.1 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.356, allocations: 11.95 kB / 494.2 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.356, allocations: 18.34 kB / 494.2 MB, free: 1.195 MB / 378.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.0001063/0.3561, allocations: 168.2 kB / 494.3 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.3562, allocations: 19.92 kB / 494.4 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448e-05/0.3562, allocations: 12.42 kB / 494.4 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3562, allocations: 0 / 494.4 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3562, allocations: 0 / 494.4 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3562, allocations: 0 / 494.4 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.893e-05/0.3563, allocations: 152.5 kB / 494.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3563, allocations: 4 kB / 494.5 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.3563, allocations: 0 / 494.5 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3563, allocations: 0 / 494.5 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3563, allocations: 15.98 kB / 494.5 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3563, allocations: 0 / 494.5 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3563, allocations: 4 kB / 494.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.3566, allocations: 342.3 kB / 494.9 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.3567, allocations: 39.8 kB / 494.9 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3567, allocations: 4 kB / 494.9 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.3567, allocations: 8 kB / 494.9 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.3567, allocations: 0 / 494.9 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3568, allocations: 15.98 kB / 494.9 MB, free: 352 kB / 378.7 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.3568, allocations: 104.5 kB / 495 MB, free: 248 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3568, allocations: 3.938 kB / 495 MB, free: 244 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008641/0.3577, allocations: 0.6778 MB / 495.7 MB, free: 15.55 MB / 394.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.002686/0.3604, allocations: 2.14 MB / 497.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3606, allocations: 302.6 kB / 498.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3606, allocations: 3.938 kB / 498.2 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3608, allocations: 185 kB / 498.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.361, allocations: 45.45 kB / 498.4 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000772/0.3617, allocations: 0.5861 MB / 499 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.874e-05/0.3618, allocations: 79.08 kB / 499.1 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.709e-05/0.3618, allocations: 3.984 kB / 499.1 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.3619, allocations: 20.48 kB / 499.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3619, allocations: 4 kB / 499.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09497/0.4568, allocations: 18.35 MB / 0.5053 GB, free: 9.938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.44, allocations: 12.19 kB / 0.5053 GB, free: 9.934 MB / 410.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: 10.764197617769241]