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.001597/0.001597, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001816/0.001816, allocations: 183.9 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.354/1.354, allocations: 222.9 MB / 241.1 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.01162/0.01162, allocations: 2.782 MB / 294 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06914/0.07036, allocations: 50.24 MB / 456.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.04135/0.1117, allocations: 50.75 MB / 0.4957 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2151/0.3268, allocations: 29.09 MB / 0.5241 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006251/0.3275, allocations: 2.812 kB / 0.5241 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3291, allocations: 0.612 MB / 0.5247 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.335, allocations: 2.252 MB / 0.5269 GB, free: 3.227 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.006973/0.342, allocations: 2.924 MB / 0.5298 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.343, allocations: 0.9298 MB / 0.5307 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3431, allocations: 68.47 kB / 0.5307 GB, free: 1.988 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.5422/0.8853, allocations: 51.7 MB / 0.5812 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.886, allocations: 305.8 kB / 0.5815 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.8862, allocations: 40 kB / 0.5816 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.174/1.06, allocations: 27.26 MB / 0.6082 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/1.06, allocations: 105.5 kB / 0.6083 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006169/1.061, allocations: 344.6 kB / 0.6086 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006889/1.068, allocations: 1.87 MB / 0.6104 GB, free: 2.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.068, allocations: 0 / 0.6104 GB, free: 2.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/1.068, allocations: 0 / 0.6104 GB, free: 2.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/1.068, allocations: 0 / 0.6104 GB, free: 2.07 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.001734/1.07, allocations: 1.133 MB / 0.6116 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.07, allocations: 8.031 kB / 0.6116 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/1.072, allocations: 0.5 MB / 0.612 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/1.075, allocations: 343.5 kB / 0.6124 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/1.075, allocations: 45.53 kB / 0.6124 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/1.075, allocations: 56 kB / 0.6125 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/1.077, allocations: 0.8683 MB / 0.6133 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.077, allocations: 4 kB / 0.6133 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/1.077, allocations: 20 kB / 0.6133 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/1.077, allocations: 39.97 kB / 0.6134 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/1.079, allocations: 0.7039 MB / 0.6141 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/1.083, allocations: 5.119 MB / 0.6191 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/1.084, allocations: 337.1 kB / 0.6194 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/1.084, allocations: 225.5 kB / 0.6196 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.085, allocations: 1.542 MB / 0.6211 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.085, allocations: 42.56 kB / 0.6211 GB, free: 6.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.763e-06/1.085, allocations: 0 / 0.6211 GB, free: 6.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001487/1.087, allocations: 0.5971 MB / 0.6217 GB, free: 5.578 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.087, allocations: 81.11 kB / 0.6218 GB, free: 5.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/1.087, allocations: 186.7 kB / 0.622 GB, free: 5.289 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/1.087, allocations: 33.64 kB / 0.622 GB, free: 5.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/1.087, allocations: 292.4 kB / 0.6223 GB, free: 4.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/1.087, allocations: 245.1 kB / 0.6225 GB, free: 4.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.087, allocations: 93.97 kB / 0.6226 GB, free: 4.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/1.088, allocations: 342.8 kB / 0.6229 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/1.088, allocations: 121.3 kB / 0.6231 GB, free: 4.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/1.088, allocations: 304.6 kB / 0.6234 GB, free: 3.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/1.089, allocations: 484.7 kB / 0.6238 GB, free: 3.238 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.089, allocations: 0 / 0.6238 GB, free: 3.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007913/1.09, allocations: 496.5 kB / 0.6243 GB, free: 2.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.09, allocations: 8 kB / 0.6243 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.09, allocations: 4 kB / 0.6243 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.09, allocations: 11.94 kB / 0.6243 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/1.09, allocations: 83.89 kB / 0.6244 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006081/1.091, allocations: 1.184 MB / 0.6256 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/1.091, allocations: 63.44 kB / 0.6256 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.091, allocations: 24 kB / 0.6256 GB, free: 1.324 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.0002036/1.091, allocations: 186.6 kB / 0.6258 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/1.091, allocations: 31.94 kB / 0.6258 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.718e-05/1.091, allocations: 34.64 kB / 0.6259 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.091, allocations: 3.938 kB / 0.6259 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.091, allocations: 0 / 0.6259 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/1.091, allocations: 120.7 kB / 0.626 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/1.091, allocations: 0 / 0.626 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.092, allocations: 15.98 kB / 0.626 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/1.092, allocations: 15.98 kB / 0.626 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007624/1.092, allocations: 0.5046 MB / 0.6265 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008779/1.093, allocations: 0.7223 MB / 0.6272 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002438/1.094, allocations: 155.9 kB / 0.6274 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.846e-05/1.094, allocations: 128.2 kB / 0.6275 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Backend: time 5.21e-07/1.094, allocations: 0 / 0.6275 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/1.097, allocations: 1.567 MB / 0.629 GB, free: 13.93 MB / 478.1 MB Notification: Performance of SimCode: time 0.001942/1.099, allocations: 1.815 MB / 0.6308 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Templates: time 0.03461/1.134, allocations: 22.99 MB / 0.6533 GB, free: 4.996 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)