Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110.3 kB / 16.41 MB, free: 6.523 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.00116/0.00116, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01163/0.01163, allocations: 2.783 MB / 294 MB, free: 11.94 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 63.91 kB / 406.6 MB, free: 29.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07954, allocations: 50.23 MB / 456.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.0455/0.1251, allocations: 50.76 MB / 0.4957 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2048/0.3299, allocations: 29.09 MB / 0.5241 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/0.3303, allocations: 3.312 kB / 0.5241 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.3318, allocations: 0.6199 MB / 0.5247 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.3374, allocations: 2.251 MB / 0.5269 GB, free: 3.215 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007809/0.3452, allocations: 2.925 MB / 0.5298 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.3463, allocations: 0.9325 MB / 0.5307 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3465, allocations: 63.98 kB / 0.5307 GB, free: 1.984 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.5357/0.8822, allocations: 51.71 MB / 0.5812 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.8829, allocations: 306 kB / 0.5815 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.883, allocations: 40 kB / 0.5816 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1694/1.052, allocations: 27.25 MB / 0.6082 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/1.053, allocations: 108.6 kB / 0.6083 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/1.053, allocations: 339.8 kB / 0.6086 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00652/1.06, allocations: 1.871 MB / 0.6104 GB, free: 1.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.06, allocations: 0 / 0.6104 GB, free: 1.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/1.06, allocations: 0 / 0.6104 GB, free: 1.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/1.06, allocations: 0 / 0.6104 GB, free: 1.996 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.001624/1.061, allocations: 1.13 MB / 0.6115 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.061, allocations: 8.031 kB / 0.6115 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/1.064, allocations: 0.5039 MB / 0.612 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/1.067, allocations: 339.5 kB / 0.6124 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/1.068, allocations: 50 kB / 0.6124 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/1.068, allocations: 52 kB / 0.6125 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.069, allocations: 0.8723 MB / 0.6133 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.069, allocations: 4 kB / 0.6133 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/1.069, allocations: 24 kB / 0.6133 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/1.069, allocations: 39.98 kB / 0.6134 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/1.07, allocations: 0.7 MB / 0.6141 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/1.074, allocations: 5.122 MB / 0.6191 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/1.075, allocations: 337.1 kB / 0.6194 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/1.075, allocations: 221.6 kB / 0.6196 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.077, allocations: 1.543 MB / 0.6211 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.077, allocations: 38.56 kB / 0.6211 GB, free: 6.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.813e-06/1.077, allocations: 0 / 0.6211 GB, free: 6.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001518/1.078, allocations: 0.5971 MB / 0.6217 GB, free: 5.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.078, allocations: 81.11 kB / 0.6218 GB, free: 5.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/1.078, allocations: 190.7 kB / 0.622 GB, free: 5.203 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.079, allocations: 25.7 kB / 0.622 GB, free: 5.172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.079, allocations: 303.4 kB / 0.6223 GB, free: 4.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/1.079, allocations: 242.8 kB / 0.6225 GB, free: 4.637 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.079, allocations: 97.95 kB / 0.6226 GB, free: 4.531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/1.079, allocations: 334.8 kB / 0.6229 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/1.08, allocations: 121.3 kB / 0.6231 GB, free: 4.078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/1.08, allocations: 304.6 kB / 0.6233 GB, free: 3.707 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/1.081, allocations: 484.7 kB / 0.6238 GB, free: 3.156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.081, allocations: 3.984 kB / 0.6238 GB, free: 3.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007606/1.081, allocations: 488.4 kB / 0.6243 GB, free: 2.668 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.081, allocations: 8 kB / 0.6243 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/1.082, allocations: 4 kB / 0.6243 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.082, allocations: 11.94 kB / 0.6243 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/1.082, allocations: 87.89 kB / 0.6244 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006106/1.083, allocations: 1.18 MB / 0.6255 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.083, allocations: 67.44 kB / 0.6256 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/1.083, allocations: 20 kB / 0.6256 GB, free: 1.246 MB / 462.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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002164/1.083, allocations: 190.8 kB / 0.6258 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/1.083, allocations: 31.81 kB / 0.6258 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.626e-05/1.083, allocations: 30.58 kB / 0.6259 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.083, allocations: 0 / 0.6259 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.083, allocations: 7.938 kB / 0.6259 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/1.083, allocations: 124.9 kB / 0.626 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/1.083, allocations: 0 / 0.626 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.083, allocations: 15.92 kB / 0.626 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/1.084, allocations: 11.98 kB / 0.626 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007561/1.084, allocations: 0.5107 MB / 0.6265 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008733/1.085, allocations: 0.7284 MB / 0.6272 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002414/1.085, allocations: 151.9 kB / 0.6274 GB, free: 15.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/1.086, allocations: 124.2 kB / 0.6275 GB, free: 15.29 MB / 478.1 MB Notification: Performance of Backend: time 4.61e-07/1.086, allocations: 0 / 0.6275 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/1.088, allocations: 1.561 MB / 0.629 GB, free: 13.86 MB / 478.1 MB Notification: Performance of SimCode: time 0.001892/1.09, allocations: 1.831 MB / 0.6308 GB, free: 11.9 MB / 478.1 MB Notification: Performance of Templates: time 0.03324/1.124, allocations: 22.98 MB / 0.6532 GB, free: 4.914 MB / 494.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)