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.001267/0.001267, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001255/0.001255, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01222/0.01222, allocations: 2.782 MB / 294 MB, free: 11.94 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 67.83 kB / 406.6 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07201/0.07332, allocations: 50.23 MB / 456.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.04475/0.1181, allocations: 50.71 MB / 0.4957 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.217/0.3351, allocations: 29.08 MB / 0.5241 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.3357, allocations: 4.875 kB / 0.5241 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.3372, allocations: 0.6196 MB / 0.5247 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.3428, allocations: 2.248 MB / 0.5269 GB, free: 3.238 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.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.007702/0.3505, allocations: 2.927 MB / 0.5297 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3516, allocations: 0.9207 MB / 0.5306 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3517, allocations: 66.77 kB / 0.5307 GB, free: 2.031 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.5508/0.9025, allocations: 51.7 MB / 0.5812 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007184/0.9033, allocations: 303 kB / 0.5815 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.9034, allocations: 40 kB / 0.5815 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1729/1.076, allocations: 27.25 MB / 0.6081 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/1.076, allocations: 114 kB / 0.6082 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007591/1.077, allocations: 336.1 kB / 0.6086 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007844/1.085, allocations: 1.866 MB / 0.6104 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.085, allocations: 0 / 0.6104 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/1.085, allocations: 0 / 0.6104 GB, free: 2.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/1.085, 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.001665/1.087, allocations: 1.128 MB / 0.6115 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.087, allocations: 8.031 kB / 0.6115 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.089, allocations: 0.5 MB / 0.612 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/1.093, allocations: 335.5 kB / 0.6123 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/1.093, allocations: 50 kB / 0.6123 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/1.093, allocations: 52.05 kB / 0.6124 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/1.094, allocations: 0.8839 MB / 0.6133 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.094, allocations: 4 kB / 0.6133 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/1.094, allocations: 24 kB / 0.6133 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/1.094, allocations: 35.97 kB / 0.6133 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/1.096, allocations: 0.6961 MB / 0.614 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/1.1, allocations: 5.001 MB / 0.6189 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/1.101, allocations: 333.1 kB / 0.6192 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/1.101, allocations: 213.5 kB / 0.6194 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.102, allocations: 1.542 MB / 0.6209 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/1.102, allocations: 38.56 kB / 0.6209 GB, free: 6.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 2.224e-06/1.102, allocations: 0 / 0.6209 GB, free: 6.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001522/1.104, allocations: 0.5932 MB / 0.6215 GB, free: 5.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.104, allocations: 77.11 kB / 0.6216 GB, free: 5.672 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.104, allocations: 178.8 kB / 0.6218 GB, free: 5.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.104, allocations: 33.7 kB / 0.6218 GB, free: 5.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/1.104, allocations: 295.4 kB / 0.6221 GB, free: 5.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/1.104, allocations: 248.2 kB / 0.6223 GB, free: 4.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.105, allocations: 93.97 kB / 0.6224 GB, free: 4.816 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/1.105, allocations: 350.7 kB / 0.6227 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/1.105, allocations: 113.3 kB / 0.6229 GB, free: 4.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/1.105, allocations: 304.6 kB / 0.6231 GB, free: 3.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/1.106, allocations: 480.7 kB / 0.6236 GB, free: 3.438 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.106, allocations: 4 kB / 0.6236 GB, free: 3.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007727/1.107, allocations: 484.2 kB / 0.6241 GB, free: 2.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.107, allocations: 8 kB / 0.6241 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.107, allocations: 8 kB / 0.6241 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.107, allocations: 11.94 kB / 0.6241 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/1.107, allocations: 72.62 kB / 0.6242 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.107, allocations: 19.92 kB / 0.6242 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/1.107, allocations: 55.52 kB / 0.6242 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/1.107, allocations: 20 kB / 0.6243 GB, free: 2.762 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): 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.0001948/1.108, allocations: 194.5 kB / 0.6244 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/1.108, allocations: 27.81 kB / 0.6245 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/1.108, allocations: 30.58 kB / 0.6245 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.108, allocations: 4 kB / 0.6245 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.108, allocations: 0 / 0.6245 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/1.108, allocations: 120.8 kB / 0.6246 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/1.108, allocations: 7.984 kB / 0.6246 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.108, allocations: 8 kB / 0.6246 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/1.108, allocations: 11.98 kB / 0.6246 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006026/1.109, allocations: 490.4 kB / 0.6251 GB, free: 1.855 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007652/1.109, allocations: 0.5869 MB / 0.6257 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002376/1.11, allocations: 160.3 kB / 0.6258 GB, free: 1.098 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/1.11, allocations: 124.2 kB / 0.626 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of Backend: time 6.01e-07/1.11, allocations: 0 / 0.626 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/1.113, allocations: 1.55 MB / 0.6275 GB, free: 15.56 MB / 478.1 MB Notification: Performance of SimCode: time 0.001788/1.114, allocations: 1.784 MB / 0.6292 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Templates: time 0.03265/1.147, allocations: 22.71 MB / 0.6514 GB, free: 6.93 MB / 494.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)