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.001087/0.001087, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001018/0.001018, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01299/0.01299, allocations: 2.782 MB / 293.9 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2324, allocations: 50.23 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007551/0.24, allocations: 8.822 MB / 414.9 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.2449, allocations: 8.46 MB / 423.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.245, allocations: 4 kB / 423.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.2455, allocations: 155 kB / 423.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.2459, allocations: 87.38 kB / 423.6 MB, free: 15.23 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.002711/0.2486, allocations: 1.428 MB / 425 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.2489, allocations: 242.8 kB / 425.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2489, allocations: 21.53 kB / 425.3 MB, free: 13.52 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.09155/0.3405, allocations: 13.67 MB / 439 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.3407, allocations: 75.69 kB / 439 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3408, allocations: 4 kB / 439 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.3423, allocations: 308 kB / 439.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.3424, allocations: 27.86 kB / 439.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3425, allocations: 71.66 kB / 439.4 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.3445, allocations: 355 kB / 439.8 MB, free: 248 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3445, allocations: 0 / 439.8 MB, free: 248 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3445, allocations: 0 / 439.8 MB, free: 248 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3445, allocations: 0 / 439.8 MB, free: 248 kB / 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.000788/0.3453, allocations: 0.4911 MB / 440.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3454, allocations: 8.031 kB / 440.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.3459, allocations: 88.66 kB / 440.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3463, allocations: 196.2 kB / 440.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.3464, allocations: 16.38 kB / 440.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3464, allocations: 11.94 kB / 440.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.3469, allocations: 255.2 kB / 440.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3469, allocations: 0 / 440.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.347, allocations: 4 kB / 440.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.347, allocations: 7.984 kB / 440.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.3474, allocations: 239.9 kB / 441.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3487, allocations: 0.8581 MB / 441.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.349, allocations: 166.8 kB / 442.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.3493, allocations: 161.1 kB / 442.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3493, allocations: 7.938 kB / 442.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3493, allocations: 30.56 kB / 442.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.3493, allocations: 0 / 442.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007936/0.3501, allocations: 406.4 kB / 442.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3502, allocations: 51.41 kB / 442.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3503, allocations: 125.6 kB / 442.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3504, allocations: 29.64 kB / 442.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.3505, allocations: 108.4 kB / 443 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.3506, allocations: 110.5 kB / 443.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.3506, allocations: 37.7 kB / 443.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3508, allocations: 326.8 kB / 443.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.351, allocations: 124.2 kB / 443.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3513, allocations: 165.7 kB / 443.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.3516, allocations: 209 kB / 444 MB, free: 11.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3517, allocations: 0 / 444 MB, free: 11.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004815/0.3521, allocations: 297.1 kB / 444.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3522, allocations: 8 kB / 444.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3522, allocations: 0 / 444.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3522, allocations: 4 kB / 444.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3523, allocations: 27.92 kB / 444.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3524, allocations: 0 / 444.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3525, allocations: 23.89 kB / 444.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3525, allocations: 12 kB / 444.3 MB, free: 11.4 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.0001152/0.3526, allocations: 117.8 kB / 444.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3527, allocations: 23.73 kB / 444.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/0.3532, allocations: 339.1 kB / 444.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3532, allocations: 4 kB / 444.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3532, allocations: 0 / 444.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3532, allocations: 4 kB / 444.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3536, allocations: 305.2 kB / 445.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3536, allocations: 0 / 445.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.3537, allocations: 23.98 kB / 445.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3537, allocations: 0 / 445.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3537, allocations: 0 / 445.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.3537, allocations: 7.922 kB / 445.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3537, allocations: 0 / 445.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.3542, allocations: 431 kB / 445.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.3543, allocations: 92.86 kB / 445.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3543, allocations: 0 / 445.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3545, allocations: 11.98 kB / 445.7 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3545, allocations: 11.98 kB / 445.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3545, allocations: 0 / 445.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.3546, allocations: 95.27 kB / 445.8 MB, free: 9.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3546, allocations: 0 / 445.8 MB, free: 9.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000338/0.3549, allocations: 60 kB / 445.8 MB, free: 9.809 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.0004588/0.3554, allocations: 262.6 kB / 446.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.3562, allocations: 366.2 kB / 446.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3562, allocations: 0 / 446.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.3565, allocations: 236 kB / 446.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.357, allocations: 88.23 kB / 446.7 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.3579, allocations: 0.5007 MB / 447.2 MB, free: 8.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3582, allocations: 0.7486 MB / 448 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3584, allocations: 32.91 kB / 448 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.3584, allocations: 19.44 kB / 448 MB, free: 7.512 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3584, allocations: 3.938 kB / 448 MB, free: 7.508 MB / 318.1 MB Notification: Performance of Templates: time 0.01051/0.3689, allocations: 5.386 MB / 453.4 MB, free: 2.16 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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1)