Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 108 kB / 15.6 MB, free: 132 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.001108/0.001108, allocations: 198.3 kB / 16.54 MB, free: 6.672 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 / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1134/0.1134, allocations: 2.763 MB / 293.1 MB, free: 3.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.91 kB / 354.4 MB, free: 4.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08768, allocations: 50.22 MB / 404.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1949/0.2826, allocations: 50.7 MB / 455.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.2992, allocations: 29.1 MB / 484.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.3001, allocations: 7.219 kB / 484.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.302, allocations: 0.6055 MB / 485 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006461/0.3085, allocations: 2.249 MB / 487.3 MB, free: 13.86 MB / 366.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.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/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.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007508/0.316, allocations: 2.918 MB / 490.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3172, allocations: 0.9245 MB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3173, allocations: 63.27 kB / 491.2 MB, free: 11.6 MB / 366.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.5296/0.8469, allocations: 51.25 MB / 0.5297 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006835/0.8476, allocations: 298.6 kB / 0.53 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.8477, allocations: 40 kB / 0.5301 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1663/1.014, allocations: 27.04 MB / 0.5565 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/1.014, allocations: 111.5 kB / 0.5566 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008195/1.015, allocations: 334.5 kB / 0.5569 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007266/1.022, allocations: 1.835 MB / 0.5587 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.022, allocations: 0 / 0.5587 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.022, allocations: 0 / 0.5587 GB, free: 10.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.146e-05/1.022, allocations: 0 / 0.5587 GB, free: 10.29 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00171/1.024, allocations: 1.1 MB / 0.5598 GB, free: 9.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.024, allocations: 12.03 kB / 0.5598 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/1.027, allocations: 0.4919 MB / 0.5602 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/1.027, allocations: 339.4 kB / 0.5606 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/1.027, allocations: 50.06 kB / 0.5606 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/1.027, allocations: 60 kB / 0.5607 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.029, allocations: 0.8762 MB / 0.5615 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.029, allocations: 0 / 0.5615 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/1.029, allocations: 28 kB / 0.5616 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/1.029, allocations: 31.97 kB / 0.5616 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/1.03, allocations: 0.7 MB / 0.5623 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/1.034, allocations: 5.051 MB / 0.5672 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/1.035, allocations: 321.7 kB / 0.5675 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/1.035, allocations: 221.6 kB / 0.5677 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/1.037, allocations: 1.527 MB / 0.5692 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.037, allocations: 38.56 kB / 0.5692 GB, free: 14.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.094e-06/1.037, allocations: 0 / 0.5692 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=71): time 0.00479/1.041, allocations: 0.5924 MB / 0.5698 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.042, allocations: 77.11 kB / 0.5699 GB, free: 13.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/1.042, allocations: 190.7 kB / 0.5701 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/1.042, allocations: 25.7 kB / 0.5701 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/1.042, allocations: 295.5 kB / 0.5704 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/1.042, allocations: 232.5 kB / 0.5706 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.042, allocations: 101.8 kB / 0.5707 GB, free: 12.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/1.042, allocations: 338.8 kB / 0.571 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/1.043, allocations: 121.2 kB / 0.5711 GB, free: 12.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/1.043, allocations: 300 kB / 0.5714 GB, free: 12.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/1.043, allocations: 492.4 kB / 0.5719 GB, free: 11.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.043, allocations: 4 kB / 0.5719 GB, free: 11.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007982/1.044, allocations: 476.6 kB / 0.5724 GB, free: 11.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.044, allocations: 8 kB / 0.5724 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.044, allocations: 11.94 kB / 0.5724 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.044, allocations: 8 kB / 0.5724 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/1.045, allocations: 71.84 kB / 0.5725 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.045, allocations: 11.98 kB / 0.5725 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/1.045, allocations: 51.75 kB / 0.5725 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.045, allocations: 24 kB / 0.5725 GB, free: 10.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000215/1.045, allocations: 193.6 kB / 0.5727 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/1.045, allocations: 31.61 kB / 0.5728 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/1.045, allocations: 34.59 kB / 0.5728 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.045, allocations: 0 / 0.5728 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.045, allocations: 0 / 0.5728 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.045, allocations: 0 / 0.5728 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/1.046, allocations: 498.4 kB / 0.5733 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.046, allocations: 4 kB / 0.5733 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.046, allocations: 43.91 kB / 0.5733 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.046, allocations: 3.938 kB / 0.5733 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.046, allocations: 7.938 kB / 0.5733 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.046, allocations: 0 / 0.5733 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.046, allocations: 192 / 0.5733 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/1.047, allocations: 0.5019 MB / 0.5738 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/1.047, allocations: 124.5 kB / 0.5739 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/1.047, allocations: 7.938 kB / 0.5739 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/1.047, allocations: 4 kB / 0.5739 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/1.047, allocations: 19.92 kB / 0.574 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/1.047, allocations: 11.98 kB / 0.574 GB, free: 9.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.974e-05/1.047, allocations: 123.2 kB / 0.5741 GB, free: 9.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.047, allocations: 0 / 0.5741 GB, free: 9.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006824/1.048, allocations: 191.3 kB / 0.5743 GB, free: 9.059 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005326/1.048, allocations: 305.7 kB / 0.5746 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009921/1.049, allocations: 0.6076 MB / 0.5752 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.049, allocations: 0 / 0.5752 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/1.05, allocations: 499.8 kB / 0.5756 GB, free: 7.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.051, allocations: 193.9 kB / 0.5758 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.053, allocations: 1.033 MB / 0.5768 GB, free: 6.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/1.053, allocations: 0.9426 MB / 0.5777 GB, free: 5.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005388/1.054, allocations: 265.7 kB / 0.578 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/1.054, allocations: 47.42 kB / 0.578 GB, free: 5.031 MB / 446.1 MB Notification: Performance of SimCode: time 2.184e-06/1.054, allocations: 0 / 0.578 GB, free: 5.031 MB / 446.1 MB Notification: Performance of Templates: time 0.1859/1.24, allocations: 10.79 MB / 0.5886 GB, free: 142 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1)