Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 107.9 kB / 16.41 MB, free: 6.496 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.001078/0.001078, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.261/1.261, 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.04702/0.04702, allocations: 9.112 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.00148/0.00148, allocations: 71.97 kB / 388.2 MB, free: 47.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06558/0.06707, allocations: 48.17 MB / 436.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01939/0.08649, allocations: 19.79 MB / 456.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.103, allocations: 17.13 MB / 473.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003525/0.1033, allocations: 4 kB / 473.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.1048, allocations: 0.5796 MB / 473.8 MB, free: 1.812 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.typeBindings: time 0.01174/0.1166, allocations: 5.288 MB / 479.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.1189, allocations: 1.018 MB / 480.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.1198, allocations: 0.7941 MB / 481 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1199, allocations: 41.78 kB / 481 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.1204, allocations: 334.7 kB / 481.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.1209, allocations: 306.6 kB / 481.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.121, allocations: 32 kB / 481.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.1357, allocations: 9.42 MB / 491.1 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1358, allocations: 99.45 kB / 491.2 MB, free: 464 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.1361, allocations: 270.6 kB / 491.4 MB, free: 192 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007842/0.144, allocations: 4.111 MB / 495.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.144, allocations: 0 / 495.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.144, allocations: 0 / 495.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.1441, allocations: 0 / 495.5 MB, free: 12.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002615/0.1467, allocations: 1.204 MB / 496.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1467, allocations: 12.03 kB / 496.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.1472, allocations: 95.12 kB / 496.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1474, allocations: 222.4 kB / 497.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1475, allocations: 16.56 kB / 497.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.1475, allocations: 31.94 kB / 497.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.149, allocations: 1.259 MB / 498.4 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.149, allocations: 4 kB / 498.4 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1491, allocations: 15.94 kB / 498.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.1491, allocations: 27.95 kB / 498.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.1514, allocations: 2.303 MB / 0.489 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1536, allocations: 2.158 MB / 0.4911 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1551, allocations: 1.346 MB / 0.4924 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.1563, allocations: 1.278 MB / 0.4937 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/0.1776, allocations: 11.22 MB / 0.5046 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1776, allocations: 39.06 kB / 0.5047 GB, free: 4.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.865e-06/0.1776, allocations: 4 kB / 0.5047 GB, free: 4.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.003944/0.1816, allocations: 3.596 MB / 0.5082 GB, free: 1.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1816, allocations: 63.97 kB / 0.5082 GB, free: 1.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.1817, allocations: 113.8 kB / 0.5083 GB, free: 1.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1818, allocations: 37.7 kB / 0.5084 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.1818, allocations: 90.98 kB / 0.5085 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.1822, allocations: 0.5694 MB / 0.509 GB, free: 356 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1824, allocations: 154.2 kB / 0.5092 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.1825, allocations: 309.9 kB / 0.5095 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.1836, allocations: 1.029 MB / 0.5105 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.1847, allocations: 1.035 MB / 0.5115 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.1871, allocations: 2.233 MB / 0.5137 GB, free: 11.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1871, allocations: 3.938 kB / 0.5137 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002736/0.1898, allocations: 2.336 MB / 0.5159 GB, free: 9.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1899, allocations: 6.031 kB / 0.5159 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1899, allocations: 0 / 0.5159 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1899, allocations: 4 kB / 0.516 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.1905, allocations: 119.8 kB / 0.5161 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1905, allocations: 0 / 0.5161 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.1909, allocations: 90.83 kB / 0.5162 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.191, allocations: 19.98 kB / 0.5162 GB, free: 9.004 MB / 414.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: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.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 (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001991/0.1912, allocations: 178.6 kB / 0.5163 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.1914, allocations: 51.25 kB / 0.5164 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.1943, allocations: 2.639 MB / 0.519 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1944, allocations: 3.984 kB / 0.519 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1944, allocations: 0 / 0.519 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.1946, allocations: 211.8 kB / 0.5192 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.1947, allocations: 19.92 kB / 0.5192 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.1951, allocations: 23.98 kB / 0.5192 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1952, allocations: 48.94 kB / 0.5193 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002659/0.1979, allocations: 2.235 MB / 0.5214 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002541/0.2004, allocations: 2.314 MB / 0.5237 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001143/0.2016, allocations: 1.192 MB / 0.5249 GB, free: 36 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.1602/0.3618, allocations: 83.28 kB / 0.525 GB, free: 97.78 MB / 414.1 MB Notification: Performance of Backend: time 1.242e-06/0.3618, allocations: 0 / 0.525 GB, free: 97.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005858/0.3677, allocations: 2.642 MB / 0.5275 GB, free: 97.48 MB / 414.1 MB Notification: Performance of SimCode: time 0.001249/0.369, allocations: 1.271 MB / 0.5288 GB, free: 96.59 MB / 414.1 MB Notification: Performance of Templates: time 0.04079/0.4098, allocations: 34.77 MB / 0.5627 GB, free: 70.12 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1)