Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.00114/0.00114, allocations: 191 kB / 17.29 MB, free: 5.516 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0119/0.0119, allocations: 2.786 MB / 293.9 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1947, allocations: 50.22 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.006743/0.2014, allocations: 9.011 MB / 415.1 MB, free: 23.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.206, allocations: 8.565 MB / 423.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.2061, allocations: 4 kB / 423.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.2065, allocations: 163.1 kB / 423.8 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.2068, allocations: 99.28 kB / 423.9 MB, free: 14.9 MB / 302.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.2091, allocations: 1.459 MB / 425.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.2094, allocations: 266.7 kB / 425.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.2095, allocations: 17.69 kB / 425.6 MB, free: 13.15 MB / 302.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.2819/0.4914, allocations: 13 MB / 438.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.4916, allocations: 87.62 kB / 438.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.4916, allocations: 8 kB / 438.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.4932, allocations: 475.9 kB / 439.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.4933, allocations: 35.84 kB / 439.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.4934, allocations: 87.59 kB / 439.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009517/0.4944, allocations: 0.5027 MB / 439.8 MB, free: 188 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4944, allocations: 3.938 kB / 439.8 MB, free: 184 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4944, allocations: 0 / 439.8 MB, free: 184 kB / 302.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.4944, allocations: 0 / 439.8 MB, free: 184 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007623/0.4952, allocations: 0.565 MB / 440.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4952, allocations: 8.031 kB / 440.4 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.4955, allocations: 60.7 kB / 440.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.4958, allocations: 208.1 kB / 440.7 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4958, allocations: 8.375 kB / 440.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.4958, allocations: 15.94 kB / 440.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.4963, allocations: 239.1 kB / 440.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4964, allocations: 7.938 kB / 440.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4964, allocations: 4 kB / 440.9 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4964, allocations: 11.98 kB / 440.9 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.4969, allocations: 196.3 kB / 441.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.4977, allocations: 0.6863 MB / 441.8 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.4985, allocations: 222.4 kB / 442 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.4988, allocations: 148.8 kB / 442.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.499, allocations: 331.2 kB / 442.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.4991, allocations: 42.56 kB / 442.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.4991, allocations: 0 / 442.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.002751/0.5018, allocations: 1.218 MB / 443.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.5019, allocations: 55.41 kB / 443.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.502, allocations: 125.9 kB / 443.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.502, allocations: 33.7 kB / 444 MB, free: 11.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.5021, allocations: 112.8 kB / 444.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5022, allocations: 153.7 kB / 444.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.5023, allocations: 61.69 kB / 444.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.5024, allocations: 326.8 kB / 444.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.5026, allocations: 124.5 kB / 444.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.5029, allocations: 197.9 kB / 444.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.5035, allocations: 344.5 kB / 445.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5035, allocations: 4 kB / 445.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001092/0.5046, allocations: 481.6 kB / 445.7 MB, free: 9.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5046, allocations: 4 kB / 445.7 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5046, allocations: 4 kB / 445.8 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.5054, allocations: 144.9 kB / 445.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.5055, allocations: 31.92 kB / 445.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005775/0.5061, allocations: 0.6537 MB / 446.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5063, allocations: 12.03 kB / 446.6 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.5063, allocations: 12.09 kB / 446.6 MB, free: 8.988 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.5065, allocations: 129.8 kB / 446.7 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.5065, allocations: 15.81 kB / 446.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.5066, allocations: 30.2 kB / 446.8 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5066, allocations: 8 kB / 446.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5066, allocations: 4 kB / 446.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5066, allocations: 3.984 kB / 446.8 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.5069, allocations: 294.4 kB / 447.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5069, allocations: 0 / 447.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.5071, allocations: 35.92 kB / 447.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.5075, allocations: 76.67 kB / 447.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.5076, allocations: 7.938 kB / 447.2 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.5088, allocations: 1.556 MB / 448.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5088, allocations: 4.062 kB / 448.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.5099, allocations: 0.7012 MB / 449.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.5099, allocations: 96.83 kB / 449.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.5099, allocations: 0 / 449.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5101, allocations: 16.05 kB / 449.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.5102, allocations: 27.91 kB / 449.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.5102, allocations: 4 kB / 449.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.5103, allocations: 99.27 kB / 449.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5103, allocations: 0 / 449.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.5107, allocations: 67.98 kB / 449.8 MB, free: 5.566 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/0.511, allocations: 178.8 kB / 449.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007528/0.5117, allocations: 359.7 kB / 450.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5117, allocations: 4 kB / 450.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.5123, allocations: 311 kB / 450.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.513, allocations: 94.58 kB / 450.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.514, allocations: 0.6713 MB / 451.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.5143, allocations: 0.741 MB / 452.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.5145, allocations: 109 kB / 452.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.5145, allocations: 23.42 kB / 452.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5145, allocations: 0 / 452.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Templates: time 0.009277/0.5238, allocations: 5.192 MB / 457.4 MB, free: 13.88 MB / 334.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)