Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, 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.00153/0.001531, 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.32/1.32, 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.01124/0.01124, allocations: 2.775 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06856/0.06979, allocations: 50.23 MB / 456.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.04299/0.1128, allocations: 50.71 MB / 0.4957 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1966/0.3094, allocations: 29.09 MB / 0.5241 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.3098, allocations: 3.344 kB / 0.5241 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.3111, allocations: 0.6172 MB / 0.5247 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.3157, allocations: 2.248 MB / 0.5269 GB, free: 3.223 MB / 382.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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006682/0.3224, allocations: 2.918 MB / 0.5297 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008785/0.3233, allocations: 0.9304 MB / 0.5306 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.3234, allocations: 57.38 kB / 0.5307 GB, free: 2.012 MB / 382.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.5363/0.8597, allocations: 51.71 MB / 0.5812 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.8604, allocations: 301.4 kB / 0.5815 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.8604, allocations: 40 kB / 0.5815 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1686/1.029, allocations: 27.25 MB / 0.6081 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/1.029, allocations: 105 kB / 0.6082 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/1.03, allocations: 348.9 kB / 0.6085 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005857/1.036, allocations: 1.852 MB / 0.6104 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.036, allocations: 0 / 0.6104 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/1.036, allocations: 0 / 0.6104 GB, free: 2.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/1.036, allocations: 0 / 0.6104 GB, free: 2.098 MB / 446.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.001389/1.037, allocations: 1.095 MB / 0.6114 GB, free: 0.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.037, allocations: 19.95 kB / 0.6114 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/1.039, allocations: 0.4958 MB / 0.6119 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/1.042, allocations: 331.5 kB / 0.6122 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/1.042, allocations: 46.06 kB / 0.6123 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/1.042, allocations: 59.98 kB / 0.6123 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.044, allocations: 0.8722 MB / 0.6132 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.044, allocations: 0 / 0.6132 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/1.044, allocations: 32 kB / 0.6132 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/1.044, allocations: 27.98 kB / 0.6133 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/1.045, allocations: 0.7 MB / 0.6139 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/1.049, allocations: 4.956 MB / 0.6188 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/1.05, allocations: 345.1 kB / 0.6191 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/1.05, allocations: 229.5 kB / 0.6193 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/1.052, allocations: 1.538 MB / 0.6208 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.052, allocations: 38.5 kB / 0.6209 GB, free: 6.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 1.603e-06/1.052, allocations: 4 kB / 0.6209 GB, free: 6.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.001712/1.053, allocations: 0.6198 MB / 0.6215 GB, free: 5.793 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.053, allocations: 81.05 kB / 0.6216 GB, free: 5.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.054, allocations: 183.5 kB / 0.6217 GB, free: 5.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/1.054, allocations: 29.7 kB / 0.6218 GB, free: 5.473 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/1.054, allocations: 274.9 kB / 0.622 GB, free: 5.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.054, allocations: 239.6 kB / 0.6222 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.054, allocations: 97.91 kB / 0.6223 GB, free: 4.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/1.054, allocations: 342.8 kB / 0.6227 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/1.055, allocations: 121.3 kB / 0.6228 GB, free: 4.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/1.055, allocations: 289.4 kB / 0.6231 GB, free: 4.051 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/1.056, allocations: 473.5 kB / 0.6235 GB, free: 3.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.056, allocations: 4 kB / 0.6235 GB, free: 3.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008677/1.056, allocations: 480 kB / 0.624 GB, free: 3.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.057, allocations: 4 kB / 0.624 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.057, allocations: 11.98 kB / 0.624 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.057, allocations: 7.938 kB / 0.624 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/1.057, allocations: 72.48 kB / 0.6241 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/1.057, allocations: 7.938 kB / 0.6241 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/1.057, allocations: 67.27 kB / 0.6241 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/1.057, allocations: 16 kB / 0.6242 GB, free: 2.855 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * 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.0002059/1.057, allocations: 193.7 kB / 0.6243 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/1.057, allocations: 27.62 kB / 0.6244 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.058, allocations: 38.27 kB / 0.6244 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.058, allocations: 0 / 0.6244 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.058, allocations: 0 / 0.6244 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/1.058, allocations: 112.5 kB / 0.6245 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.058, allocations: 15.94 kB / 0.6245 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.058, allocations: 11.98 kB / 0.6245 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/1.058, allocations: 23.95 kB / 0.6246 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007914/1.059, allocations: 0.508 MB / 0.6251 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007547/1.06, allocations: 0.596 MB / 0.6256 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003001/1.06, allocations: 167.9 kB / 0.6258 GB, free: 1.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.278e-05/1.06, allocations: 119.2 kB / 0.6259 GB, free: 1.016 MB / 462.1 MB Notification: Performance of Backend: time 4.2e-07/1.06, allocations: 4 kB / 0.6259 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002996/1.063, allocations: 1.539 MB / 0.6274 GB, free: 15.61 MB / 478.1 MB Notification: Performance of SimCode: time 0.001742/1.065, allocations: 1.785 MB / 0.6292 GB, free: 13.71 MB / 478.1 MB Notification: Performance of Templates: time 0.03299/1.098, allocations: 23.23 MB / 0.6518 GB, free: 6.473 MB / 494.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1)