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.0009163/0.0009163, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.001233/0.001233, allocations: 169 kB / 24.23 MB, free: 240 kB / 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.9126/0.9126, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.04397/0.04397, allocations: 11.4 MB / 272.6 MB, free: 2.168 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.974e-06/1.974e-06, allocations: 0 / 291.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.338e-05, allocations: 2.312 kB / 291.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.TransportAmmonia): time 0.04779/0.0478, allocations: 58.03 MB / 349.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.05184, allocations: 4.082 MB / 353.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.05188, allocations: 4 kB / 353.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.05239, allocations: 209.1 kB / 354 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.05249, allocations: 55.72 kB / 354.1 MB, free: 10.62 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.01792/0.07041, allocations: 9.489 MB / 363.6 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.07059, allocations: 151.4 kB / 363.7 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.07063, allocations: 3.984 kB / 363.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.0708, allocations: 115.6 kB / 363.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.08228, allocations: 12.72 MB / 376.6 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.0823, allocations: 4 kB / 376.6 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.09359, allocations: 9.834 MB / 386.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.09362, allocations: 23.92 kB / 386.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.09368, allocations: 43.8 kB / 386.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.09976, allocations: 4.546 MB / 391 MB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.09977, allocations: 0 / 391 MB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.09977, allocations: 0 / 391 MB, free: 5.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.09977, allocations: 0 / 391 MB, free: 5.621 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.001176/0.1009, allocations: 0.9717 MB / 392 MB, free: 4.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.552e-05/0.101, allocations: 8.031 kB / 392 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.1011, allocations: 31.97 kB / 392 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.473e-05/0.1012, allocations: 114.8 kB / 392.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1012, allocations: 9.312 kB / 392.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1012, allocations: 4 kB / 392.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1013, allocations: 143.2 kB / 392.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1013, allocations: 3.938 kB / 392.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1013, allocations: 4 kB / 392.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1013, allocations: 0 / 392.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.1014, allocations: 82.47 kB / 392.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.067e-05/0.1014, allocations: 59.88 kB / 392.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.1015, allocations: 108.2 kB / 392.5 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1016, allocations: 86.56 kB / 392.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-06/0.1016, allocations: 4 kB / 392.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1016, allocations: 80.41 kB / 392.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 5.91e-07/0.1016, allocations: 0 / 392.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002244/0.1018, allocations: 307.8 kB / 393 MB, free: 3.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1019, allocations: 97.03 kB / 393.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.1019, allocations: 133 kB / 393.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1019, allocations: 29.7 kB / 393.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.1019, allocations: 80.14 kB / 393.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.102, allocations: 23.83 kB / 393.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.102, allocations: 41.62 kB / 393.4 MB, free: 3.027 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.1021, allocations: 318.8 kB / 393.7 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.1021, allocations: 84.53 kB / 393.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.1022, allocations: 81.67 kB / 393.9 MB, free: 2.531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1023, allocations: 192 kB / 394.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1023, allocations: 2.125 kB / 394.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001358/0.1024, allocations: 214.1 kB / 394.3 MB, free: 2.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.1024, allocations: 53.67 kB / 394.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1024, allocations: 2.906 kB / 394.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.1025, allocations: 0 / 394.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.1025, allocations: 0 / 394.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.1025, allocations: 3.938 kB / 394.3 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.1025, allocations: 16.02 kB / 394.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1025, allocations: 7.984 kB / 394.4 MB, free: 2.016 MB / 346.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.0001016/0.1026, allocations: 178.2 kB / 394.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1027, allocations: 19.98 kB / 394.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-06/0.1027, allocations: 4.438 kB / 394.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1027, allocations: 0 / 394.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1027, allocations: 3.938 kB / 394.6 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1027, allocations: 7.984 kB / 394.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.18e-05/0.1027, allocations: 73.89 kB / 394.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1027, allocations: 0 / 394.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1027, allocations: 4 kB / 394.6 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.1027, allocations: 0 / 394.6 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1027, allocations: 8.734 kB / 394.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.1027, allocations: 0 / 394.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1027, allocations: 0 / 394.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.1029, allocations: 291 kB / 394.9 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.103, allocations: 31.86 kB / 395 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.103, allocations: 4 kB / 395 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.1031, allocations: 10.69 kB / 395 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-06/0.1031, allocations: 4 kB / 395 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1031, allocations: 8.016 kB / 395 MB, free: 1.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.708e-05/0.1031, allocations: 28.83 kB / 395 MB, free: 1.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1031, allocations: 0 / 395 MB, free: 1.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008057/0.1039, allocations: 0.6815 MB / 395.7 MB, free: 0.6055 MB / 346.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.001851/0.1058, allocations: 1.498 MB / 397.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1059, allocations: 279.4 kB / 397.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1059, allocations: 0 / 397.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.1061, allocations: 189.8 kB / 397.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1063, allocations: 44.95 kB / 397.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.1067, allocations: 270.2 kB / 398 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.618e-05/0.1067, allocations: 63.34 kB / 398 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.435e-05/0.1067, allocations: 3.984 kB / 398 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1069, allocations: 119.3 kB / 398.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1069, allocations: 0 / 398.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Templates: time 0.01743/0.1243, allocations: 18.67 MB / 416.8 MB, free: 11.6 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.1473565632477403]