Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 109.6 kB / 16.41 MB, free: 6.426 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.001727/0.001727, allocations: 190.7 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0121/0.0121, allocations: 2.777 MB / 294 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07302/0.07423, allocations: 50.24 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008927/0.0832, allocations: 8.816 MB / 465.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00669/0.08992, allocations: 8.451 MB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.09002, allocations: 3.938 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.09047, allocations: 159 kB / 474.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.09079, allocations: 91.36 kB / 474.3 MB, free: 9.188 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.09367, allocations: 1.428 MB / 475.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.09398, allocations: 246.9 kB / 476 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.09404, allocations: 13.55 kB / 476 MB, free: 7.496 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.09778/0.1918, allocations: 13.68 MB / 489.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.192, allocations: 75.62 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.192, allocations: 4 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1933, allocations: 300 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.1934, allocations: 27.91 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1935, allocations: 79.59 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1946, allocations: 350.8 kB / 490.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1947, allocations: 0 / 490.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1947, allocations: 4 kB / 490.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1947, allocations: 0 / 490.5 MB, free: 10.13 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.000739/0.1954, allocations: 498.5 kB / 491 MB, free: 9.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1955, allocations: 8.031 kB / 491 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.1959, allocations: 92.7 kB / 491.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1961, allocations: 192.2 kB / 491.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.1962, allocations: 24.38 kB / 491.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1962, allocations: 7.938 kB / 491.3 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.1967, allocations: 255.1 kB / 491.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1967, allocations: 0 / 491.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1967, allocations: 4 kB / 491.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1967, allocations: 7.984 kB / 491.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.1972, allocations: 239.9 kB / 491.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/0.1981, allocations: 0.8659 MB / 492.7 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1984, allocations: 174.8 kB / 492.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1987, allocations: 149.1 kB / 493 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1987, allocations: 11.92 kB / 493 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1987, allocations: 34.56 kB / 493.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.1987, allocations: 4 kB / 493.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007461/0.1995, allocations: 402.1 kB / 493.4 MB, free: 6.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.1995, allocations: 51.41 kB / 493.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.1996, allocations: 121.8 kB / 493.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1996, allocations: 25.7 kB / 493.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.1997, allocations: 108.6 kB / 493.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.1998, allocations: 119 kB / 493.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.1999, allocations: 37.7 kB / 493.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.2, allocations: 330.8 kB / 494.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/0.2006, allocations: 120.3 kB / 494.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.2009, allocations: 173.7 kB / 494.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.2012, allocations: 201 kB / 494.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2013, allocations: 4 kB / 494.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005209/0.2018, allocations: 293.2 kB / 495 MB, free: 5.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2018, allocations: 7.938 kB / 495 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2018, allocations: 4 kB / 495 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2018, allocations: 160 / 495 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.202, allocations: 31.92 kB / 495 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.202, allocations: 0 / 495 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2021, allocations: 35.77 kB / 495.1 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2021, allocations: 4 kB / 495.1 MB, free: 5.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.99e-05/0.2022, allocations: 121.8 kB / 495.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.2023, allocations: 15.84 kB / 495.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.2029, allocations: 334.9 kB / 495.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2029, allocations: 3.984 kB / 495.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2029, allocations: 0 / 495.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.2029, allocations: 96.95 kB / 495.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.203, allocations: 4 kB / 495.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2031, allocations: 4 kB / 495.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.2031, allocations: 11.97 kB / 495.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005688/0.2037, allocations: 416.3 kB / 496.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005616/0.2043, allocations: 490.3 kB / 496.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002521/0.2045, allocations: 175.9 kB / 496.7 MB, free: 3.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.2046, allocations: 91.27 kB / 496.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of Backend: time 4.21e-07/0.2046, allocations: 0 / 496.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2057, allocations: 0.5252 MB / 497.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008164/0.2066, allocations: 0.9074 MB / 498.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Templates: time 0.009925/0.2165, allocations: 5.645 MB / 0.4921 GB, free: 12.33 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1)