Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") translateModel(HelmholtzMedia.Examples.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001186/0.001186, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04576/0.04576, allocations: 9.104 MB / 279.7 MB, free: 2.949 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.001431/0.001431, allocations: 62.42 kB / 388.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07446/0.07591, allocations: 48.19 MB / 436.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01844/0.09438, allocations: 18.93 MB / 455.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.1022, allocations: 7.387 MB / 462.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1024, allocations: 0 / 462.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1035, allocations: 434.7 kB / 463 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.1041, allocations: 250.5 kB / 463.3 MB, free: 12.52 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.01003/0.1142, allocations: 4.207 MB / 467.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.1146, allocations: 370 kB / 467.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.1147, allocations: 16.25 kB / 467.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.115, allocations: 155.4 kB / 468 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1152, allocations: 87.48 kB / 468.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1152, allocations: 0 / 468.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.126, allocations: 7.038 MB / 475.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.126, allocations: 7.875 kB / 475.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1262, allocations: 95.56 kB / 475.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005739/0.1319, allocations: 3.138 MB / 478.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1319, allocations: 0 / 478.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1319, allocations: 7.938 kB / 478.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.132, allocations: 0 / 478.4 MB, free: 13.38 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001469/0.1334, allocations: 0.7445 MB / 479.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1335, allocations: 12.03 kB / 479.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1335, allocations: 19.7 kB / 479.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1337, allocations: 174.9 kB / 479.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1337, allocations: 7.938 kB / 479.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1337, allocations: 0 / 479.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.134, allocations: 172.9 kB / 479.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.134, allocations: 4 kB / 479.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.134, allocations: 0 / 479.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.134, allocations: 11.97 kB / 479.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1341, allocations: 132.5 kB / 479.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.1344, allocations: 311.5 kB / 480 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1346, allocations: 199 kB / 480.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1348, allocations: 185.9 kB / 480.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05128/0.1861, allocations: 28.58 MB / 0.497 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1861, allocations: 30.56 kB / 0.497 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 2.875e-06/0.1861, allocations: 0 / 0.497 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006701/0.1868, allocations: 0.5377 MB / 0.4976 GB, free: 9.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.1869, allocations: 55.41 kB / 0.4976 GB, free: 9.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.1869, allocations: 97.86 kB / 0.4977 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.187, allocations: 25.7 kB / 0.4977 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.187, allocations: 81.45 kB / 0.4978 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.1872, allocations: 208.8 kB / 0.498 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.1872, allocations: 41.7 kB / 0.498 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1874, allocations: 334.8 kB / 0.4984 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1875, allocations: 132.5 kB / 0.4985 GB, free: 8.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1876, allocations: 138.7 kB / 0.4986 GB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.1879, allocations: 336.3 kB / 0.4989 GB, free: 7.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1879, allocations: 0 / 0.4989 GB, free: 7.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003488/0.1883, allocations: 358.1 kB / 0.4993 GB, free: 7.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1883, allocations: 8 kB / 0.4993 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1883, allocations: 0 / 0.4993 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1883, allocations: 0 / 0.4993 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.1884, allocations: 3.938 kB / 0.4993 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1884, allocations: 0 / 0.4993 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.1884, allocations: 27.53 kB / 0.4993 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1885, allocations: 7.984 kB / 0.4993 GB, free: 7.434 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.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * 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.000113/0.1886, allocations: 142.8 kB / 0.4995 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1886, allocations: 19.72 kB / 0.4995 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.1892, allocations: 0.6916 MB / 0.5002 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1892, allocations: 0 / 0.5002 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1893, allocations: 0 / 0.5002 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.1893, allocations: 104.8 kB / 0.5003 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1894, allocations: 7.844 kB / 0.5003 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.1894, allocations: 8 kB / 0.5003 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.1895, allocations: 4 kB / 0.5003 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000281/0.1897, allocations: 357 kB / 0.5006 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003305/0.1901, allocations: 460 kB / 0.5011 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001167/0.1902, allocations: 132.4 kB / 0.5012 GB, free: 5.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.1903, allocations: 119.2 kB / 0.5013 GB, free: 5.316 MB / 398.1 MB Notification: Performance of Backend: time 6.01e-07/0.1903, allocations: 8 kB / 0.5013 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.1938, allocations: 1.194 MB / 0.5025 GB, free: 4.109 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009571/0.1948, allocations: 0.8072 MB / 0.5033 GB, free: 3.25 MB / 398.1 MB Notification: Performance of Templates: time 0.1982/0.393, allocations: 22.57 MB / 0.5253 GB, free: 99.41 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)