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.0008631/0.0008631, allocations: 79.75 kB / 20.12 MB, free: 4.152 MB / 18.57 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.001388/0.001388, allocations: 156.5 kB / 23.55 MB, free: 0.7188 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.8821/0.8821, allocations: 177.2 MB / 204 MB, free: 5.391 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.05488/0.05488, allocations: 11.73 MB / 272.2 MB, free: 1.789 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: translateModel(HelmholtzMedia.Validation.Properties.TransportAmmonia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia") translateModel(HelmholtzMedia.Validation.Properties.TransportAmmonia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 291.5 MB, free: 17.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.312e-05, allocations: 6.516 kB / 291.5 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportAmmonia): time 0.03824/0.03826, allocations: 58.13 MB / 349.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.04189, allocations: 4.979 MB / 354.7 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.04194, allocations: 0 / 354.7 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.04245, allocations: 203.7 kB / 354.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.909e-05/0.04255, allocations: 59.66 kB / 354.9 MB, free: 8.762 MB / 314.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.01924/0.06179, allocations: 9.723 MB / 364.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.06201, allocations: 147.5 kB / 364.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.06206, allocations: 7.984 kB / 364.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.06224, allocations: 119.6 kB / 364.9 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.07302, allocations: 12.72 MB / 377.6 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.07307, allocations: 4 kB / 377.6 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01599/0.08906, allocations: 10.03 MB / 387.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.08911, allocations: 19.92 kB / 387.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.0892, allocations: 39.86 kB / 387.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.1009, allocations: 4.667 MB / 392.4 MB, free: 3.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1009, allocations: 4 kB / 392.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1009, allocations: 0 / 392.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.101, allocations: 0 / 392.4 MB, free: 3.203 MB / 346.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.001473/0.1024, allocations: 0.978 MB / 393.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1025, allocations: 12.03 kB / 393.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.1026, allocations: 31.97 kB / 393.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/0.1027, allocations: 121.1 kB / 393.5 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1027, allocations: 4 kB / 393.5 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1027, allocations: 8 kB / 393.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1029, allocations: 135.2 kB / 393.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1029, allocations: 4 kB / 393.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1029, allocations: 7.938 kB / 393.7 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1029, allocations: 0 / 393.7 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.103, allocations: 81.66 kB / 393.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.257e-05/0.103, allocations: 67.88 kB / 393.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.189e-05/0.1031, allocations: 96.25 kB / 393.9 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.1032, allocations: 90.56 kB / 394 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-06/0.1032, allocations: 0 / 394 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.1032, allocations: 76.19 kB / 394.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1032, allocations: 0 / 394.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002423/0.1035, allocations: 307.6 kB / 394.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.1035, allocations: 89.09 kB / 394.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.1036, allocations: 137.4 kB / 394.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1036, allocations: 29.7 kB / 394.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.963e-05/0.1036, allocations: 84.12 kB / 394.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1036, allocations: 19.8 kB / 394.7 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.1037, allocations: 49.62 kB / 394.8 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.1037, allocations: 318.8 kB / 395.1 MB, free: 288 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.1038, allocations: 84.5 kB / 395.2 MB, free: 196 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.1038, allocations: 82.38 kB / 395.3 MB, free: 108 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.104, allocations: 176 kB / 395.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.104, allocations: 0 / 395.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001395/0.1041, allocations: 209.6 kB / 395.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.1041, allocations: 53.67 kB / 395.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1041, allocations: 0 / 395.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1042, allocations: 3.938 kB / 395.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-06/0.1042, allocations: 3.297 kB / 395.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.1042, allocations: 3.938 kB / 395.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.1042, allocations: 8 kB / 395.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1043, allocations: 8 kB / 395.7 MB, free: 15.61 MB / 362.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 9.234e-05/0.1044, allocations: 175.2 kB / 395.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.1044, allocations: 15.98 kB / 395.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.374e-05/0.1044, allocations: 12.42 kB / 395.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1044, allocations: 0 / 395.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1044, allocations: 1.312 kB / 395.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1044, allocations: 3.938 kB / 395.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.758e-05/0.1045, allocations: 81.83 kB / 396 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1045, allocations: 0 / 396 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.1045, allocations: 0 / 396 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1045, allocations: 0 / 396 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1045, allocations: 11.98 kB / 396 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1045, allocations: 8 kB / 396 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1045, allocations: 3.078 kB / 396 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1047, allocations: 287 kB / 396.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.1048, allocations: 27.88 kB / 396.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1048, allocations: 8 kB / 396.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.1048, allocations: 4 kB / 396.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.1049, allocations: 3.938 kB / 396.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1049, allocations: 11.98 kB / 396.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.124e-05/0.1049, allocations: 20.84 kB / 396.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1049, allocations: 0 / 396.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001192/0.1061, allocations: 0.7205 MB / 397.1 MB, free: 14.17 MB / 362.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.002068/0.1081, allocations: 1.577 MB / 398.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1084, allocations: 283.4 kB / 399 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1084, allocations: 0 / 399 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.1084, allocations: 181.9 kB / 399.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.1086, allocations: 41.58 kB / 399.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1091, allocations: 257.4 kB / 399.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.1091, allocations: 63.34 kB / 399.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.747e-05/0.1091, allocations: 3.984 kB / 399.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.1093, allocations: 119.3 kB / 399.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1093, allocations: 3.938 kB / 399.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Templates: time 0.01836/0.1276, allocations: 19.61 MB / 419.2 MB, free: 8.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Properties.TransportAmmonia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3547570472583175]