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.0009824/0.0009823, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1286/0.1286, allocations: 2.753 MB / 293.1 MB, free: 3.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 354.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09332, allocations: 50.23 MB / 404.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.009098/0.1025, allocations: 8.81 MB / 413.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.109, allocations: 8.458 MB / 421.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1091, allocations: 4 kB / 421.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.1097, allocations: 155.1 kB / 422.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1099, allocations: 95.34 kB / 422.1 MB, free: 0.5195 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.1935/0.3034, allocations: 1.429 MB / 423.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006112/0.304, allocations: 240.7 kB / 423.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.3041, allocations: 16.41 kB / 423.8 MB, free: 36.71 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.09149/0.3956, allocations: 13.57 MB / 437.4 MB, free: 31.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.3959, allocations: 71.05 kB / 437.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.396, allocations: 10.47 kB / 437.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.398, allocations: 298.1 kB / 437.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3981, allocations: 27.11 kB / 437.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3983, allocations: 76.91 kB / 437.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.4007, allocations: 345.3 kB / 438.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4007, allocations: 0 / 438.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4008, allocations: 0 / 438.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.4008, allocations: 0 / 438.2 MB, free: 31.67 MB / 350.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.0009188/0.4017, allocations: 0.4931 MB / 438.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4018, allocations: 12.66 kB / 438.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.4023, allocations: 91.58 kB / 438.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4025, allocations: 189 kB / 439 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.4025, allocations: 27.09 kB / 439 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4026, allocations: 10.22 kB / 439 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.403, allocations: 252.7 kB / 439.3 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.403, allocations: 0 / 439.3 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.403, allocations: 3.25 kB / 439.3 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.403, allocations: 10.11 kB / 439.3 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.4034, allocations: 239.7 kB / 439.5 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.4044, allocations: 0.8601 MB / 440.4 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4046, allocations: 170.1 kB / 440.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.4049, allocations: 153.8 kB / 440.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.4049, allocations: 3.25 kB / 440.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4049, allocations: 34.5 kB / 440.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.4049, allocations: 0 / 440.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007067/0.4057, allocations: 412.9 kB / 441.1 MB, free: 30.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.4057, allocations: 55.16 kB / 441.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.4058, allocations: 119.2 kB / 441.3 MB, free: 30.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4058, allocations: 25.7 kB / 441.3 MB, free: 30.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.4059, allocations: 110.6 kB / 441.4 MB, free: 29.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.4059, allocations: 106.9 kB / 441.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.406, allocations: 43.14 kB / 441.6 MB, free: 29.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.406, allocations: 324.4 kB / 441.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4062, allocations: 119.3 kB / 442 MB, free: 29.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.4064, allocations: 171.8 kB / 442.2 MB, free: 29.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.4068, allocations: 203.9 kB / 442.4 MB, free: 29.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4068, allocations: 0 / 442.4 MB, free: 29.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004375/0.4072, allocations: 294.5 kB / 442.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4073, allocations: 10.14 kB / 442.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4073, allocations: 0 / 442.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4073, allocations: 3.125 kB / 442.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4074, allocations: 21.98 kB / 442.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4074, allocations: 160 / 442.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4075, allocations: 38.36 kB / 442.7 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4076, allocations: 10.5 kB / 442.8 MB, free: 29.35 MB / 350.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 8.458e-05/0.4077, allocations: 122.3 kB / 442.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.4077, allocations: 18.95 kB / 442.9 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.4082, allocations: 339.8 kB / 443.2 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4082, allocations: 7.938 kB / 443.2 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4082, allocations: 0 / 443.2 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4083, allocations: 0 / 443.2 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.4085, allocations: 295.2 kB / 443.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4085, allocations: 0 / 443.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.4086, allocations: 20.09 kB / 443.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4086, allocations: 3.938 kB / 443.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.4086, allocations: 7.031 kB / 443.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4086, allocations: 0 / 443.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4087, allocations: 0 / 443.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.4091, allocations: 432 kB / 444 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.4092, allocations: 102.7 kB / 444.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4092, allocations: 2.562 kB / 444.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4093, allocations: 6.578 kB / 444.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.4094, allocations: 13.38 kB / 444.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4094, allocations: 7.031 kB / 444.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.4094, allocations: 88.94 kB / 444.2 MB, free: 28.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4094, allocations: 0 / 444.2 MB, free: 28.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.4098, allocations: 60.16 kB / 444.2 MB, free: 28.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0004841/0.4103, allocations: 263.2 kB / 444.5 MB, free: 28.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005524/0.4108, allocations: 367.5 kB / 444.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4108, allocations: 0 / 444.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.4111, allocations: 239.1 kB / 445.1 MB, free: 28.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.4117, allocations: 80 kB / 445.2 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4131, allocations: 0.5141 MB / 445.7 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.4133, allocations: 0.7441 MB / 446.4 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.4134, allocations: 24.44 kB / 446.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.4135, allocations: 23.72 kB / 446.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4135, allocations: 0 / 446.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of Templates: time 0.00948/0.4229, allocations: 5.41 MB / 451.9 MB, free: 26.91 MB / 350.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)