Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 108 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 190.5 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04685/0.04685, allocations: 9.104 MB / 279.7 MB, free: 2.953 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001461, allocations: 66.2 kB / 388.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.0778, allocations: 48.18 MB / 436.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01822/0.09605, allocations: 19.19 MB / 455.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1063, allocations: 9.381 MB / 464.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1065, allocations: 4 kB / 464.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1076, allocations: 441.9 kB / 465.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000653/0.1083, allocations: 254.4 kB / 465.5 MB, free: 10.26 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.1198, allocations: 4.536 MB / 470.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000528/0.1203, allocations: 401.8 kB / 470.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.1204, allocations: 20.41 kB / 470.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.1208, allocations: 179.2 kB / 470.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.121, allocations: 103.5 kB / 470.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.121, allocations: 4 kB / 470.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.1338, allocations: 7.396 MB / 478.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.1338, allocations: 19.86 kB / 478.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.134, allocations: 115.4 kB / 478.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.1408, allocations: 3.251 MB / 481.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1408, allocations: 11.94 kB / 481.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1408, allocations: 0 / 481.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.1408, allocations: 0 / 481.6 MB, free: 10.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001718/0.1425, allocations: 0.8106 MB / 482.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1426, allocations: 8.031 kB / 482.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.143, allocations: 67.56 kB / 482.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1432, allocations: 182.8 kB / 482.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1432, allocations: 7.875 kB / 482.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1432, allocations: 12 kB / 482.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1436, allocations: 233.5 kB / 482.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1437, allocations: 3.984 kB / 482.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1437, allocations: 0 / 482.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1437, allocations: 11.97 kB / 482.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.1441, allocations: 216.5 kB / 483.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1445, allocations: 360 kB / 483.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1455, allocations: 351.1 kB / 483.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.1459, allocations: 250 kB / 484 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05091/0.1968, allocations: 28.58 MB / 0.5006 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1969, allocations: 34.56 kB / 0.5006 GB, free: 6.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 3.166e-06/0.1969, allocations: 4 kB / 0.5006 GB, free: 6.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001203/0.1981, allocations: 0.6816 MB / 0.5013 GB, free: 5.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.1981, allocations: 51.41 kB / 0.5014 GB, free: 5.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.1982, allocations: 113.8 kB / 0.5015 GB, free: 5.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1982, allocations: 29.7 kB / 0.5015 GB, free: 5.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.1983, allocations: 85.45 kB / 0.5016 GB, free: 5.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.1985, allocations: 228.4 kB / 0.5018 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.1986, allocations: 57.69 kB / 0.5019 GB, free: 4.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1987, allocations: 334.8 kB / 0.5022 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.199, allocations: 172.5 kB / 0.5023 GB, free: 4.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.1992, allocations: 175.1 kB / 0.5025 GB, free: 4.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.1998, allocations: 432.7 kB / 0.5029 GB, free: 3.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1998, allocations: 0 / 0.5029 GB, free: 3.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006845/0.2005, allocations: 474.5 kB / 0.5034 GB, free: 3.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2006, allocations: 4 kB / 0.5034 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2006, allocations: 0 / 0.5034 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2006, allocations: 0 / 0.5034 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2008, allocations: 27.97 kB / 0.5034 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2008, allocations: 4 kB / 0.5034 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.2009, allocations: 43.45 kB / 0.5034 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.201, allocations: 4 kB / 0.5035 GB, free: 3.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001225/0.2011, allocations: 135.8 kB / 0.5036 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.2011, allocations: 19.72 kB / 0.5036 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009896/0.2021, allocations: 0.7677 MB / 0.5043 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2022, allocations: 7.922 kB / 0.5044 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2022, allocations: 0 / 0.5044 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2023, allocations: 124.5 kB / 0.5045 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.2023, allocations: 0 / 0.5045 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2025, allocations: 15.97 kB / 0.5045 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2025, allocations: 15.98 kB / 0.5045 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007958/0.2033, allocations: 0.5513 MB / 0.505 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007553/0.2041, allocations: 0.6407 MB / 0.5057 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000304/0.2044, allocations: 236.5 kB / 0.5059 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.2045, allocations: 87.27 kB / 0.506 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.2045, allocations: 0 / 0.506 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004024/0.2085, allocations: 1.287 MB / 0.5072 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008298/0.2094, allocations: 0.8328 MB / 0.508 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Templates: time 0.2073/0.4166, allocations: 23.44 MB / 0.5309 GB, free: 95.85 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)