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.001054/0.001054, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001057/0.001058, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01173/0.01173, allocations: 2.779 MB / 293.5 MB, free: 12.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 354.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1977, allocations: 50.23 MB / 404.8 MB, free: 33.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007324/0.205, allocations: 8.816 MB / 413.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.2095, allocations: 8.4 MB / 422 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2097, allocations: 4 kB / 422 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.2102, allocations: 143.3 kB / 422.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.2105, allocations: 79.48 kB / 422.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.2135, allocations: 1.329 MB / 423.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2138, allocations: 242.8 kB / 423.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.2139, allocations: 17.56 kB / 423.8 MB, free: 14.06 MB / 302.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.1974/0.4113, allocations: 13.55 MB / 437.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.4115, allocations: 67.7 kB / 437.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.4115, allocations: 12 kB / 437.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.4126, allocations: 296 kB / 437.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.4127, allocations: 31.84 kB / 437.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.4128, allocations: 71.61 kB / 437.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.4131, allocations: 247.3 kB / 438.1 MB, free: 1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4132, allocations: 4 kB / 438.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4132, allocations: 0 / 438.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.4132, allocations: 0 / 438.1 MB, free: 0.9961 MB / 302.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.0006/0.4138, allocations: 498.9 kB / 438.6 MB, free: 472 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4138, allocations: 12.03 kB / 438.6 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.4142, allocations: 92.66 kB / 438.7 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4144, allocations: 192.2 kB / 438.8 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.4144, allocations: 20.36 kB / 438.9 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.4145, allocations: 11.94 kB / 438.9 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.4149, allocations: 259.1 kB / 439.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4149, allocations: 0 / 439.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4149, allocations: 7.984 kB / 439.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4149, allocations: 8 kB / 439.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.4153, allocations: 235.9 kB / 439.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.4163, allocations: 0.8581 MB / 440.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.4166, allocations: 174.7 kB / 440.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.4169, allocations: 157.1 kB / 440.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.4169, allocations: 3.938 kB / 440.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4169, allocations: 34.55 kB / 440.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.417, allocations: 0 / 440.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007322/0.4177, allocations: 406.4 kB / 441 MB, free: 13.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4177, allocations: 55.34 kB / 441 MB, free: 13.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.4178, allocations: 121.7 kB / 441.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.4179, allocations: 25.7 kB / 441.2 MB, free: 13.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.418, allocations: 108.4 kB / 441.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.418, allocations: 106.5 kB / 441.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.4181, allocations: 41.7 kB / 441.4 MB, free: 13.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4183, allocations: 326.8 kB / 441.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.4185, allocations: 120.3 kB / 441.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.4187, allocations: 161.8 kB / 442 MB, free: 12.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.4191, allocations: 213 kB / 442.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4191, allocations: 0 / 442.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005014/0.4196, allocations: 293.1 kB / 442.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4196, allocations: 15.92 kB / 442.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4197, allocations: 0 / 442.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4197, allocations: 4 kB / 442.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4198, allocations: 23.92 kB / 442.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4198, allocations: 4.156 kB / 442.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.42, allocations: 27.73 kB / 442.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.42, allocations: 8 kB / 442.6 MB, free: 12.15 MB / 318.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 0.0001131/0.4201, allocations: 125.8 kB / 442.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.4201, allocations: 15.75 kB / 442.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006986/0.4209, allocations: 487 kB / 443.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005553/0.4214, allocations: 425.2 kB / 443.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4214, allocations: 0 / 443.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4215, allocations: 4 kB / 443.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.4227, allocations: 0.9271 MB / 444.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4227, allocations: 0 / 444.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.4229, allocations: 43.91 kB / 444.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4229, allocations: 0 / 444.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4229, allocations: 4 kB / 444.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4229, allocations: 8 kB / 444.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4229, allocations: 0 / 444.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.4235, allocations: 0.5116 MB / 445.1 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.4236, allocations: 96.8 kB / 445.2 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.4237, allocations: 8 kB / 445.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4238, allocations: 15.98 kB / 445.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.4239, allocations: 23.91 kB / 445.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.4239, allocations: 12 kB / 445.3 MB, free: 9.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.4239, allocations: 91.2 kB / 445.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4239, allocations: 0 / 445.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.4243, allocations: 68 kB / 445.4 MB, free: 9.203 MB / 318.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: 3 (fluid.state.phase,$cse3.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.0004832/0.4248, allocations: 259.7 kB / 445.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007074/0.4255, allocations: 421.2 kB / 446.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4255, allocations: 0 / 446.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.4258, allocations: 226.2 kB / 446.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.4266, allocations: 129.1 kB / 446.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.4276, allocations: 0.6978 MB / 447.2 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4279, allocations: 0.7532 MB / 447.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.428, allocations: 23.44 kB / 447.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.428, allocations: 0 / 447.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Templates: time 0.006247/0.4342, allocations: 3.33 MB / 451.3 MB, free: 3.312 MB / 318.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)