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.00111/0.00111, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001134/0.001134, allocations: 189.3 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01184/0.01184, allocations: 2.786 MB / 293.8 MB, free: 12.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2176, allocations: 50.24 MB / 405.3 MB, free: 32.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007484/0.2251, allocations: 8.804 MB / 414.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.2299, allocations: 8.466 MB / 422.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.23, allocations: 4 kB / 422.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.2306, allocations: 159.1 kB / 422.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.2309, allocations: 83.36 kB / 422.8 MB, free: 15.38 MB / 302.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.003155/0.2341, allocations: 1.424 MB / 424.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2344, allocations: 254.8 kB / 424.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.2344, allocations: 9.562 kB / 424.5 MB, free: 13.68 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.09295/0.3274, allocations: 13.56 MB / 438.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3276, allocations: 75.69 kB / 438.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.3277, allocations: 4 kB / 438.1 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.329, allocations: 304 kB / 438.4 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.3291, allocations: 27.91 kB / 438.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3293, allocations: 75.61 kB / 438.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.3305, allocations: 347.1 kB / 438.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3305, allocations: 0 / 438.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3305, allocations: 0 / 438.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3305, allocations: 0 / 438.9 MB, free: 0.5117 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.0007724/0.3313, allocations: 498.9 kB / 439.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3314, allocations: 8.031 kB / 439.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.3319, allocations: 92.59 kB / 439.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3321, allocations: 196.1 kB / 439.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.3322, allocations: 20.38 kB / 439.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3322, allocations: 11.94 kB / 439.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.3326, allocations: 255.2 kB / 439.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3327, allocations: 0 / 439.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3327, allocations: 0 / 439.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.3327, allocations: 11.98 kB / 440 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.3332, allocations: 243.8 kB / 440.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3342, allocations: 0.8542 MB / 441 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.3345, allocations: 170.8 kB / 441.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.3347, allocations: 153.1 kB / 441.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.3348, allocations: 7.938 kB / 441.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3348, allocations: 34.5 kB / 441.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.432e-06/0.3348, allocations: 0 / 441.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007637/0.3356, allocations: 406.4 kB / 441.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3356, allocations: 51.41 kB / 441.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.3358, allocations: 125.7 kB / 442 MB, free: 13.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3358, allocations: 25.7 kB / 442 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3358, allocations: 108.5 kB / 442.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.3359, allocations: 106.4 kB / 442.2 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.336, allocations: 41.7 kB / 442.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3361, allocations: 322.8 kB / 442.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3363, allocations: 124.3 kB / 442.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3366, allocations: 169.6 kB / 442.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.337, allocations: 209 kB / 443.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.337, allocations: 8 kB / 443.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005045/0.3375, allocations: 289.1 kB / 443.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3375, allocations: 4 kB / 443.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3375, allocations: 8 kB / 443.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3376, allocations: 0 / 443.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3377, allocations: 36.06 kB / 443.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3377, allocations: 0 / 443.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3378, allocations: 19.75 kB / 443.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3378, allocations: 8 kB / 443.4 MB, free: 11.67 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.00011/0.338, allocations: 126.3 kB / 443.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.338, allocations: 19.73 kB / 443.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.3386, allocations: 346.6 kB / 443.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3386, allocations: 8 kB / 443.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3386, allocations: 0 / 443.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3386, allocations: 0 / 443.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.3389, allocations: 301.3 kB / 444.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3389, allocations: 0 / 444.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.339, allocations: 15.98 kB / 444.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.339, allocations: 4 kB / 444.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3391, allocations: 96 / 444.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3391, allocations: 3.938 kB / 444.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3391, allocations: 4 kB / 444.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.3396, allocations: 431 kB / 444.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.3397, allocations: 92.86 kB / 444.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3397, allocations: 3.984 kB / 444.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3398, allocations: 8 kB / 444.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3399, allocations: 19.92 kB / 444.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3399, allocations: 3.984 kB / 444.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.34, allocations: 87.28 kB / 444.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.34, allocations: 0 / 444.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.3403, allocations: 64 kB / 444.9 MB, free: 10.07 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: 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.0004985/0.3408, allocations: 254.6 kB / 445.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.3415, allocations: 370.2 kB / 445.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3415, allocations: 4.312 kB / 445.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.342, allocations: 239.6 kB / 445.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.3426, allocations: 82.23 kB / 445.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.3436, allocations: 0.5414 MB / 446.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3439, allocations: 0.7447 MB / 447.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.3439, allocations: 27.44 kB / 447.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.344, allocations: 0 / 447.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of Templates: time 0.006244/0.3502, allocations: 3.376 MB / 450.5 MB, free: 4.379 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)