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.001148/0.001148, allocations: 107.3 kB / 16.41 MB, free: 6.387 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.001006/0.001006, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.273/1.273, allocations: 222.9 MB / 241 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.01128/0.01128, allocations: 2.777 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06849/0.06966, allocations: 50.23 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.04377/0.1135, allocations: 50.72 MB / 0.4957 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.208/0.3215, allocations: 29.08 MB / 0.5241 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.3219, allocations: 6.875 kB / 0.5241 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.3233, allocations: 0.6173 MB / 0.5247 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.3285, allocations: 2.247 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.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.006753/0.3352, allocations: 2.925 MB / 0.5297 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009366/0.3362, allocations: 0.9218 MB / 0.5306 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3363, allocations: 64.28 kB / 0.5307 GB, free: 2.023 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.5496/0.8859, allocations: 51.71 MB / 0.5812 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.8866, allocations: 296.9 kB / 0.5815 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.8867, allocations: 44 kB / 0.5815 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1741/1.061, allocations: 27.25 MB / 0.6081 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/1.061, allocations: 113.7 kB / 0.6082 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/1.062, allocations: 340.7 kB / 0.6085 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005657/1.067, allocations: 1.863 MB / 0.6104 GB, free: 2.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.067, allocations: 0 / 0.6104 GB, free: 2.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/1.067, allocations: 0 / 0.6104 GB, free: 2.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/1.067, allocations: 4 kB / 0.6104 GB, free: 2.102 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.001351/1.069, allocations: 1.122 MB / 0.6115 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.069, allocations: 8.031 kB / 0.6115 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/1.071, allocations: 0.4961 MB / 0.612 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/1.073, allocations: 343.5 kB / 0.6123 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/1.073, allocations: 46.06 kB / 0.6123 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/1.073, allocations: 60.05 kB / 0.6124 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.075, allocations: 0.8722 MB / 0.6132 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.075, allocations: 3.938 kB / 0.6132 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/1.075, allocations: 24 kB / 0.6133 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/1.075, allocations: 35.97 kB / 0.6133 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.076, allocations: 0.7039 MB / 0.614 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/1.08, allocations: 5.002 MB / 0.6189 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/1.081, allocations: 325 kB / 0.6192 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/1.081, allocations: 225.6 kB / 0.6194 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/1.082, allocations: 1.539 MB / 0.6209 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.082, allocations: 34.5 kB / 0.6209 GB, free: 6.371 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.693e-06/1.082, allocations: 0 / 0.6209 GB, free: 6.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001467/1.084, allocations: 0.5971 MB / 0.6215 GB, free: 5.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.084, allocations: 77.11 kB / 0.6216 GB, free: 5.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/1.084, allocations: 178.8 kB / 0.6218 GB, free: 5.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/1.084, allocations: 33.7 kB / 0.6218 GB, free: 5.453 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/1.084, allocations: 290.7 kB / 0.6221 GB, free: 5.164 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.084, allocations: 249.6 kB / 0.6223 GB, free: 4.922 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.084, allocations: 93.97 kB / 0.6224 GB, free: 4.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/1.084, allocations: 346.8 kB / 0.6227 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.085, allocations: 117.3 kB / 0.6228 GB, free: 4.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/1.085, allocations: 300.6 kB / 0.6231 GB, free: 3.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/1.086, allocations: 484.6 kB / 0.6236 GB, free: 3.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.086, allocations: 0 / 0.6236 GB, free: 3.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007534/1.086, allocations: 495.2 kB / 0.6241 GB, free: 2.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.086, allocations: 8 kB / 0.6241 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.086, allocations: 8 kB / 0.6241 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.086, allocations: 11.94 kB / 0.6241 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.087, allocations: 63.91 kB / 0.6241 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.087, allocations: 11.94 kB / 0.6242 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/1.087, allocations: 63.5 kB / 0.6242 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/1.087, allocations: 20 kB / 0.6242 GB, free: 2.77 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.0001965/1.087, allocations: 198.5 kB / 0.6244 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/1.087, allocations: 27.81 kB / 0.6245 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/1.087, allocations: 38.58 kB / 0.6245 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.087, allocations: 0 / 0.6245 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.087, allocations: 0 / 0.6245 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/1.087, allocations: 116.8 kB / 0.6246 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/1.087, allocations: 0 / 0.6246 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.088, allocations: 11.98 kB / 0.6246 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/1.088, allocations: 11.98 kB / 0.6246 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006121/1.088, allocations: 495 kB / 0.6251 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005994/1.089, allocations: 0.583 MB / 0.6257 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002287/1.089, allocations: 164.3 kB / 0.6258 GB, free: 1.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.65e-05/1.089, allocations: 128.2 kB / 0.6259 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of Backend: time 4.61e-07/1.089, allocations: 0 / 0.6259 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/1.092, allocations: 1.548 MB / 0.6275 GB, free: 15.56 MB / 478.1 MB Notification: Performance of SimCode: time 0.001674/1.093, allocations: 1.783 MB / 0.6292 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Templates: time 0.0319/1.125, allocations: 22.72 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)