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.002053/0.002053, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002349/0.002349, allocations: 218.3 kB / 22.25 MB, free: 3.59 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.809/1.809, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 178] 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.09213/0.09213, allocations: 14.02 MB / 326.4 MB, free: 4.633 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 0.003594/0.003594, allocations: 67.09 kB / 453.9 MB, free: 33.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1448, allocations: 55.96 MB / 0.4979 GB, free: 9.211 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportAmmonia): time 0.07329/0.218, allocations: 51.89 MB / 0.5486 GB, free: 5.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.2239, allocations: 3.703 MB / 0.5522 GB, free: 1.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.224, allocations: 0 / 0.5522 GB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.2248, allocations: 195.9 kB / 0.5524 GB, free: 1.219 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.2249, allocations: 55.73 kB / 0.5524 GB, free: 1.164 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.4472/0.6721, allocations: 9.868 MB / 0.5621 GB, free: 6.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.6725, allocations: 138.8 kB / 0.5622 GB, free: 6.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.6725, allocations: 8.891 kB / 0.5622 GB, free: 6.137 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.6728, allocations: 104.5 kB / 0.5623 GB, free: 6.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02203/0.6948, allocations: 12.81 MB / 0.5748 GB, free: 5.641 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.6949, allocations: 2.344 kB / 0.5748 GB, free: 5.641 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02445/0.7193, allocations: 9.177 MB / 0.5838 GB, free: 3.863 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.7194, allocations: 22.97 kB / 0.5838 GB, free: 3.855 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.7195, allocations: 40.03 kB / 0.5839 GB, free: 3.855 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/0.7397, allocations: 3.826 MB / 0.5876 GB, free: 2.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7397, allocations: 0 / 0.5876 GB, free: 2.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.7397, allocations: 0.7656 kB / 0.5876 GB, free: 2.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.7397, allocations: 0 / 0.5876 GB, free: 2.242 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.002455/0.7422, allocations: 0.991 MB / 0.5886 GB, free: 1.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7422, allocations: 8.906 kB / 0.5886 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.7425, allocations: 23 kB / 0.5886 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.7426, allocations: 124.2 kB / 0.5887 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.7426, allocations: 3.938 kB / 0.5887 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.7426, allocations: 4 kB / 0.5887 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.7429, allocations: 149.9 kB / 0.5889 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7429, allocations: 4 kB / 0.5889 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.7429, allocations: 5.75 kB / 0.5889 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.7429, allocations: 0 / 0.5889 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.743, allocations: 102.2 kB / 0.589 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.7432, allocations: 117.8 kB / 0.5891 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.7433, allocations: 111.3 kB / 0.5892 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.7434, allocations: 97.3 kB / 0.5893 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.7434, allocations: 0 / 0.5893 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.7435, allocations: 75.81 kB / 0.5894 GB, free: 460 kB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.7435, allocations: 3.938 kB / 0.5894 GB, free: 460 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005363/0.744, allocations: 371.8 kB / 0.5897 GB, free: 144 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.7441, allocations: 92.59 kB / 0.5898 GB, free: 36 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.7442, allocations: 131.9 kB / 0.5899 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.7443, allocations: 33.69 kB / 0.59 GB, free: 15.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.7443, allocations: 82.77 kB / 0.59 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.7444, allocations: 24.52 kB / 0.5901 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.7445, allocations: 45.89 kB / 0.5901 GB, free: 15.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.7447, allocations: 314 kB / 0.5904 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.7448, allocations: 91.78 kB / 0.5905 GB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.7449, allocations: 100.5 kB / 0.5906 GB, free: 15.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.7452, allocations: 203.7 kB / 0.5908 GB, free: 15.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7452, allocations: 4 kB / 0.5908 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004043/0.7456, allocations: 253.9 kB / 0.591 GB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.7457, allocations: 49.55 kB / 0.5911 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7457, allocations: 4 kB / 0.5911 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.7457, allocations: 0 / 0.5911 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.7457, allocations: 0 / 0.5911 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.7457, allocations: 3.75 kB / 0.5911 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.7459, allocations: 12.83 kB / 0.5911 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.7459, allocations: 11.98 kB / 0.5911 GB, free: 14.8 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.0002178/0.7461, allocations: 176.9 kB / 0.5913 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.7462, allocations: 15.45 kB / 0.5913 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.7462, allocations: 9.031 kB / 0.5913 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7462, allocations: 0 / 0.5913 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7462, allocations: 0 / 0.5913 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7462, allocations: 3.984 kB / 0.5913 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.7464, allocations: 125.1 kB / 0.5914 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7464, allocations: 3.938 kB / 0.5914 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.7464, allocations: 0 / 0.5914 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7464, allocations: 3.984 kB / 0.5914 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.7464, allocations: 4 kB / 0.5914 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7464, allocations: 9.844 kB / 0.5914 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7464, allocations: 3.75 kB / 0.5914 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.7469, allocations: 347.2 kB / 0.5918 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.747, allocations: 37.14 kB / 0.5918 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.7471, allocations: 4 kB / 0.5918 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.7472, allocations: 7.984 kB / 0.5918 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.7472, allocations: 8.438 kB / 0.5918 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.7473, allocations: 15.98 kB / 0.5918 GB, free: 14.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.7474, allocations: 97.64 kB / 0.5919 GB, free: 14 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7474, allocations: 0 / 0.5919 GB, free: 14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002335/0.7497, allocations: 0.679 MB / 0.5926 GB, free: 13.34 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.005115/0.7548, allocations: 1.263 MB / 0.5938 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005577/0.7554, allocations: 303.8 kB / 0.5941 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7554, allocations: 0 / 0.5941 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.7556, allocations: 187.7 kB / 0.5943 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.756, allocations: 47.14 kB / 0.5944 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/0.7567, allocations: 261.8 kB / 0.5946 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.7568, allocations: 81.19 kB / 0.5947 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.936e-05/0.7569, allocations: 8.062 kB / 0.5947 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.7569, allocations: 11.44 kB / 0.5947 GB, free: 11.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7569, allocations: 0 / 0.5947 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Templates: time 0.03172/0.7886, allocations: 15.99 MB / 0.6103 GB, free: 11.64 MB / 442.7 MB " [Timeout remaining time 659] 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: 6.99079558532685]