Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.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.0008713/0.0008713, allocations: 77.33 kB / 20.86 MB, free: 3.602 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.0008797/0.0008797, allocations: 172.5 kB / 24.3 MB, free: 168 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.8652/0.8652, allocations: 177.1 MB / 204.7 MB, free: 5.422 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.05032/0.05032, allocations: 11.7 MB / 272.9 MB, free: 1.855 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.Derivatives.CheckDerivativeSetStateAmmonia,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 292.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.821e-05, allocations: 4.406 kB / 292.2 MB, free: 17.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia): time 0.04387/0.04388, allocations: 64.72 MB / 357 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0389/0.08279, allocations: 57.04 MB / 414 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.08336, allocations: 19.88 kB / 414 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.08441, allocations: 0.5636 MB / 414.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03339/0.1178, allocations: 18.95 MB / 433.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.1322, allocations: 8.293 MB / 441.8 MB, free: 2.246 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2385/0.3706, allocations: 141 MB / 0.5691 GB, free: 4.332 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3709, allocations: 54.59 kB / 0.5692 GB, free: 4.262 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.3734, allocations: 1.837 MB / 0.571 GB, free: 2.578 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.3837, allocations: 11.59 MB / 0.5823 GB, free: 7.473 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.3841, allocations: 100 kB / 0.5824 GB, free: 7.375 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0351/0.4192, allocations: 23.91 MB / 0.6057 GB, free: 1.062 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1277/0.5469, allocations: 1.346 MB / 0.607 GB, free: 113.6 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.549, allocations: 1.072 MB / 0.6081 GB, free: 113.6 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02762/0.5766, allocations: 12.9 MB / 0.6207 GB, free: 113.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5766, allocations: 3.594 kB / 0.6207 GB, free: 113.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5766, allocations: 0 / 0.6207 GB, free: 113.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000133/0.5767, allocations: 0 / 0.6207 GB, free: 113.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 675 * Number of variables: 675 Notification: Performance of Generate backend data structure: time 0.007451/0.5842, allocations: 5.662 MB / 0.6262 GB, free: 110.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5842, allocations: 7.781 kB / 0.6262 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.5876, allocations: 1.446 MB / 0.6276 GB, free: 110.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.5894, allocations: 1.738 MB / 0.6293 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.5894, allocations: 195.3 kB / 0.6295 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000678/0.5901, allocations: 470.8 kB / 0.63 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.5932, allocations: 3.62 MB / 0.6335 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.5932, allocations: 1.156 kB / 0.6335 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.5934, allocations: 74.44 kB / 0.6336 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.5936, allocations: 281.9 kB / 0.6338 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.5962, allocations: 2.538 MB / 0.6363 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008774/0.6049, allocations: 5.861 MB / 0.642 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.6077, allocations: 3.609 MB / 0.6456 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009277/0.6086, allocations: 0.9424 MB / 0.6465 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1206/0.7292, allocations: 106.5 MB / 0.7505 GB, free: 27.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002925/0.7321, allocations: 3.081 MB / 0.7535 GB, free: 24.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=604): time 1.066e-05/0.7321, allocations: 0 / 0.7535 GB, free: 24.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=773): time 0.2171/0.9492, allocations: 35.08 MB / 0.7878 GB, free: 162.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.9493, allocations: 0.4978 MB / 0.7883 GB, free: 161.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.9506, allocations: 2.098 MB / 0.7903 GB, free: 161.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007923/0.9514, allocations: 184.3 kB / 0.7905 GB, free: 161.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.9517, allocations: 0.6271 MB / 0.7911 GB, free: 161.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.953, allocations: 2.894 MB / 0.7939 GB, free: 159.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/0.955, allocations: 2.119 MB / 0.796 GB, free: 159.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.823e-05/0.9551, allocations: 304.7 kB / 0.7963 GB, free: 159.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.9571, allocations: 1.889 MB / 0.7981 GB, free: 159.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.9595, allocations: 2.889 MB / 0.801 GB, free: 158.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005129/0.9647, allocations: 5.968 MB / 0.8068 GB, free: 156.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/0.9647, allocations: 5.875 kB / 0.8068 GB, free: 156.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1349) (initialization): time 0.00593/0.9706, allocations: 6.947 MB / 0.8136 GB, free: 153.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.9707, allocations: 151.2 kB / 0.8137 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.9707, allocations: 21.97 kB / 0.8137 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.745e-05/0.9708, allocations: 56 kB / 0.8138 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003889/0.9747, allocations: 2.337 MB / 0.8161 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/0.9747, allocations: 67.25 kB / 0.8161 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.9766, allocations: 197.4 kB / 0.8163 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/0.9771, allocations: 496.9 kB / 0.8168 GB, free: 151.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 15 (singlePhase.s0.phase,singlePhase.s1.phase,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,twoPhase.s0.phase,twoPhase.s1.phase,phaseChange.s0.phase,phaseChange.s1.phase,liquidNearSaturation.s0.phase,liquidNearSaturation.s1.phase,vapourNearSaturation.s0.phase,vapourNearSaturation.s1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1073 * Array equations: 5 * Algorithm blocks: 5 * Record equations: 8 * 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.00156/0.9787, allocations: 0.682 MB / 0.8175 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008075/0.9795, allocations: 0.5056 MB / 0.818 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0224/1.002, allocations: 34.47 MB / 0.8516 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/1.002, allocations: 51.81 kB / 0.8517 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.002, allocations: 0 / 0.8517 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.004, allocations: 1.503 MB / 0.8531 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006343/1.005, allocations: 269.6 kB / 0.8534 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.006, allocations: 268.4 kB / 0.8536 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/1.007, allocations: 0.6336 MB / 0.8543 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01401/1.021, allocations: 20.27 MB / 0.8741 GB, free: 98.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.017/1.038, allocations: 28.21 MB / 0.9016 GB, free: 70.82 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005036/1.043, allocations: 9.21 MB / 0.9106 GB, free: 62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000794/1.043, allocations: 0.9358 MB / 0.9115 GB, free: 61.22 MB / 474.7 MB Notification: Performance of Backend: time 2.9e-07/1.043, allocations: 3.188 kB / 0.9115 GB, free: 61.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.013/1.056, allocations: 8.882 MB / 0.9202 GB, free: 53.61 MB / 474.7 MB Notification: Performance of SimCode: time 0.01081/1.067, allocations: 13.85 MB / 0.9337 GB, free: 40.23 MB / 474.7 MB Notification: Performance of Templates: time 0.4351/1.502, allocations: 244.1 MB / 1.172 GB, free: 149.3 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAmmonia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.332990017719567]