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.002029/0.002029, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002277/0.002277, allocations: 165.9 kB / 22.45 MB, free: 2.105 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 1.661/1.661, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.08431/0.08431, allocations: 11.36 MB / 270.5 MB, free: 2.578 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 3.116e-06/3.116e-06, allocations: 0 / 398.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.96e-05/5.272e-05, allocations: 2.281 kB / 398.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportAmmonia): time 0.3495/0.3495, allocations: 51.85 MB / 450 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.3552, allocations: 3.686 MB / 453.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3553, allocations: 1.031 kB / 453.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.3561, allocations: 203.4 kB / 453.9 MB, free: 8.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3563, allocations: 56.2 kB / 453.9 MB, free: 8.051 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.0383/0.3946, allocations: 10.05 MB / 464 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.3949, allocations: 143.5 kB / 464.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.3949, allocations: 4 kB / 464.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.3952, allocations: 111.7 kB / 464.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02413/0.4194, allocations: 12.9 MB / 477.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.4194, allocations: 4 kB / 477.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0275/0.4469, allocations: 9.248 MB / 486.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.447, allocations: 19.92 kB / 486.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.4472, allocations: 39.91 kB / 486.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02296/0.4702, allocations: 4.539 MB / 491 MB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4702, allocations: 0 / 491 MB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4702, allocations: 0 / 491 MB, free: 4.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4702, allocations: 3.938 kB / 491 MB, free: 4.781 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.002188/0.4724, allocations: 0.9936 MB / 492 MB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4724, allocations: 8.031 kB / 492 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.4726, allocations: 23.88 kB / 492 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.4727, allocations: 121.1 kB / 492.1 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4728, allocations: 4 kB / 492.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.4728, allocations: 11.98 kB / 492.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.4731, allocations: 147.3 kB / 492.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4731, allocations: 1.625 kB / 492.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.4731, allocations: 0 / 492.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4731, allocations: 3.938 kB / 492.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.4732, allocations: 97.66 kB / 492.4 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.4734, allocations: 117.2 kB / 492.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4736, allocations: 116.2 kB / 492.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4737, allocations: 102.5 kB / 492.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.4737, allocations: 4 kB / 492.7 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.811e-05/0.4738, allocations: 72.25 kB / 492.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.4738, allocations: 0 / 492.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006621/0.4745, allocations: 387.6 kB / 493.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.4746, allocations: 93.09 kB / 493.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.4747, allocations: 131.4 kB / 493.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.4748, allocations: 33.7 kB / 493.4 MB, free: 2.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.4748, allocations: 84.08 kB / 493.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.4749, allocations: 19.8 kB / 493.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.4749, allocations: 45.64 kB / 493.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4751, allocations: 322.8 kB / 493.9 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4753, allocations: 97.66 kB / 494 MB, free: 1.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4754, allocations: 89.66 kB / 494 MB, free: 1.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4757, allocations: 210.9 kB / 494.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4757, allocations: 0 / 494.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003975/0.4761, allocations: 256.9 kB / 494.5 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/0.4762, allocations: 53.67 kB / 494.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4762, allocations: 0 / 494.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4762, allocations: 0 / 494.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.4762, allocations: 7.562 kB / 494.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4762, allocations: 0 / 494.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4763, allocations: 20 kB / 494.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.4764, allocations: 11.98 kB / 494.6 MB, free: 0.875 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.0001932/0.4766, allocations: 171.5 kB / 494.8 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.4766, allocations: 15.95 kB / 494.8 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.4766, allocations: 8.422 kB / 494.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4766, allocations: 0 / 494.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4766, allocations: 3.938 kB / 494.8 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4766, allocations: 4 kB / 494.8 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.4768, allocations: 125.2 kB / 494.9 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4768, allocations: 4 kB / 494.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4768, allocations: 0 / 494.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4768, allocations: 4 kB / 494.9 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4768, allocations: 7.984 kB / 494.9 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4768, allocations: 0 / 494.9 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4768, allocations: 4 kB / 494.9 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.4774, allocations: 348.2 kB / 495.3 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.4775, allocations: 31.86 kB / 495.3 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.4775, allocations: 8 kB / 495.3 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4776, allocations: 4 kB / 495.3 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.4776, allocations: 8 kB / 495.3 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.4777, allocations: 16.02 kB / 495.3 MB, free: 52 kB / 378.7 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.4778, allocations: 96.53 kB / 495.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4778, allocations: 0 / 495.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001808/0.4796, allocations: 0.6816 MB / 496.1 MB, free: 15.27 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.004038/0.4836, allocations: 1.379 MB / 497.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.4841, allocations: 314.5 kB / 497.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4841, allocations: 0 / 497.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.4844, allocations: 189 kB / 498 MB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4847, allocations: 34.25 kB / 498 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.4853, allocations: 256.8 kB / 498.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.963e-05/0.4854, allocations: 83.2 kB / 498.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.4854, allocations: 7.984 kB / 498.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.4854, allocations: 8.5 kB / 498.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4854, allocations: 0 / 498.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of Templates: time 0.02941/0.5148, allocations: 16.05 MB / 0.5024 GB, free: 13 MB / 410.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.487191727384925]