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.001208/0.001208, allocations: 110.8 kB / 16.41 MB, free: 6.469 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.001231/0.001231, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.24/1.24, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04449/0.04449, allocations: 9.095 MB / 279.7 MB, free: 2.941 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.001558/0.001558, allocations: 70.92 kB / 388.1 MB, free: 47.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06369/0.06525, allocations: 48.18 MB / 436.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01776/0.08305, allocations: 19.18 MB / 455.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009393/0.09247, allocations: 9.392 MB / 464.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.09267, allocations: 0 / 464.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.09374, allocations: 498 kB / 465.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005927/0.09434, allocations: 286.3 kB / 465.6 MB, free: 10.16 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.01043/0.1048, allocations: 4.746 MB / 470.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.1052, allocations: 405.8 kB / 470.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.1053, allocations: 20.41 kB / 470.8 MB, free: 5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1056, allocations: 187.2 kB / 471 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1058, allocations: 91.53 kB / 471.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1058, allocations: 8 kB / 471.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.1173, allocations: 7.392 MB / 478.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.1173, allocations: 19.86 kB / 478.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1175, allocations: 127.4 kB / 478.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006075/0.1236, allocations: 3.254 MB / 481.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1236, allocations: 4 kB / 481.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1236, allocations: 0 / 481.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1236, allocations: 0 / 481.9 MB, free: 9.902 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.001588/0.1252, allocations: 0.8387 MB / 482.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1253, allocations: 8.031 kB / 482.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.1256, allocations: 67.75 kB / 482.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1258, allocations: 190.7 kB / 483 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1258, allocations: 7.984 kB / 483 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1259, allocations: 12 kB / 483 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.1263, allocations: 233.4 kB / 483.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1263, allocations: 0 / 483.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1263, allocations: 4 kB / 483.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1263, allocations: 3.984 kB / 483.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.1267, allocations: 216.5 kB / 483.4 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1271, allocations: 364.2 kB / 483.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.128, allocations: 343.1 kB / 484.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.1284, allocations: 254 kB / 484.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04747/0.1759, allocations: 28.58 MB / 0.5009 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1759, allocations: 30.56 kB / 0.501 GB, free: 5.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.1759, allocations: 4 kB / 0.501 GB, free: 5.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001138/0.1771, allocations: 0.6857 MB / 0.5016 GB, free: 5.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.1771, allocations: 51.41 kB / 0.5017 GB, free: 5.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.1772, allocations: 109.8 kB / 0.5018 GB, free: 4.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1772, allocations: 33.7 kB / 0.5018 GB, free: 4.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.1773, allocations: 85.45 kB / 0.5019 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.1775, allocations: 241.7 kB / 0.5021 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.1776, allocations: 69.56 kB / 0.5022 GB, free: 4.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1777, allocations: 334.8 kB / 0.5025 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.1779, allocations: 168.5 kB / 0.5027 GB, free: 3.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1782, allocations: 175.2 kB / 0.5029 GB, free: 3.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.1788, allocations: 432.7 kB / 0.5033 GB, free: 3.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1788, allocations: 0 / 0.5033 GB, free: 3.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006726/0.1795, allocations: 474.7 kB / 0.5037 GB, free: 2.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1795, allocations: 4 kB / 0.5037 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1795, allocations: 4 kB / 0.5037 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1795, allocations: 0 / 0.5037 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1797, allocations: 27.92 kB / 0.5038 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1797, allocations: 0 / 0.5038 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1798, allocations: 43.59 kB / 0.5038 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1799, allocations: 11.92 kB / 0.5038 GB, free: 2.832 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.0001217/0.18, allocations: 131.9 kB / 0.5039 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.18, allocations: 23.81 kB / 0.504 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000954/0.181, allocations: 0.7675 MB / 0.5047 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.181, allocations: 0 / 0.5047 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.181, allocations: 0 / 0.5047 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1811, allocations: 124.7 kB / 0.5048 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1812, allocations: 7.984 kB / 0.5048 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1813, allocations: 11.98 kB / 0.5048 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1814, allocations: 11.98 kB / 0.5049 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007465/0.1821, allocations: 0.5475 MB / 0.5054 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007206/0.1829, allocations: 0.6369 MB / 0.506 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000301/0.1832, allocations: 244.5 kB / 0.5062 GB, free: 288 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.1832, allocations: 87.58 kB / 0.5063 GB, free: 200 kB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.1832, allocations: 0 / 0.5063 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003742/0.187, allocations: 1.314 MB / 0.5076 GB, free: 14.87 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007536/0.1878, allocations: 0.8209 MB / 0.5084 GB, free: 14 MB / 414.1 MB Notification: Performance of Templates: time 0.1788/0.3666, allocations: 23.41 MB / 0.5313 GB, free: 95.88 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)