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.001366/0.001366, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001637/0.001637, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01178/0.01178, allocations: 2.775 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07044/0.07166, allocations: 50.23 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008627/0.08032, allocations: 8.816 MB / 465.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006539/0.08688, allocations: 8.454 MB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.08696, allocations: 3.938 kB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.08741, allocations: 159 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.0877, allocations: 91.41 kB / 474.3 MB, free: 9.199 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.002498/0.0902, allocations: 1.424 MB / 475.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.09049, allocations: 246.9 kB / 476 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.09055, allocations: 13.56 kB / 476 MB, free: 7.512 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.09826/0.1888, allocations: 13.69 MB / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.189, allocations: 71.64 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.189, allocations: 4 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1903, allocations: 307.9 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.1903, allocations: 31.89 kB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1905, allocations: 75.61 kB / 490.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1916, allocations: 347.1 kB / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1916, allocations: 0 / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1916, allocations: 0 / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1916, allocations: 0 / 490.5 MB, free: 10.15 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.0007286/0.1923, allocations: 498.9 kB / 491 MB, free: 9.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1924, allocations: 8.031 kB / 491 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.1928, allocations: 96.66 kB / 491.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1931, allocations: 196.2 kB / 491.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.1931, allocations: 20.38 kB / 491.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1931, allocations: 7.938 kB / 491.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.1936, allocations: 259.1 kB / 491.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1936, allocations: 0 / 491.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1936, allocations: 4 kB / 491.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1936, allocations: 7.984 kB / 491.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.1941, allocations: 243.8 kB / 491.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1952, allocations: 0.858 MB / 492.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1955, allocations: 166.8 kB / 492.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.1958, allocations: 153.1 kB / 493 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1958, allocations: 7.938 kB / 493 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1958, allocations: 38.56 kB / 493 MB, free: 7.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.1959, allocations: 0 / 493 MB, free: 7.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007514/0.1966, allocations: 398.3 kB / 493.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.1966, allocations: 55.41 kB / 493.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.1967, allocations: 117.8 kB / 493.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1968, allocations: 29.7 kB / 493.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.1968, allocations: 112.5 kB / 493.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.1969, allocations: 102.4 kB / 493.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.197, allocations: 41.69 kB / 493.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1971, allocations: 322.8 kB / 494.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.1973, allocations: 116.3 kB / 494.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1976, allocations: 177.7 kB / 494.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1979, allocations: 204.9 kB / 494.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.198, allocations: 0 / 494.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000518/0.1985, allocations: 305.1 kB / 495 MB, free: 5.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1985, allocations: 7.938 kB / 495 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1985, allocations: 4 kB / 495 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1985, allocations: 0 / 495 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1987, allocations: 19.98 kB / 495 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1987, allocations: 4 kB / 495 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1988, allocations: 31.67 kB / 495 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1988, allocations: 4 kB / 495 MB, free: 5.301 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 0.0001033/0.1989, allocations: 129.9 kB / 495.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.199, allocations: 11.84 kB / 495.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1995, allocations: 335.3 kB / 495.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1996, allocations: 3.984 kB / 495.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1996, allocations: 0 / 495.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1996, allocations: 88.95 kB / 495.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1997, allocations: 8 kB / 495.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1998, allocations: 12.08 kB / 495.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1998, allocations: 15.86 kB / 495.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005631/0.2004, allocations: 408.4 kB / 496 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005598/0.201, allocations: 498.2 kB / 496.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002573/0.2012, allocations: 167.9 kB / 496.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.2013, allocations: 91.27 kB / 496.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of Backend: time 8.72e-07/0.2013, allocations: 0 / 496.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.2024, allocations: 0.517 MB / 497.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008344/0.2033, allocations: 0.9155 MB / 498.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of Templates: time 0.01034/0.2136, allocations: 5.641 MB / 0.492 GB, free: 12.36 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)