Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008355/0.008355, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001634/0.001634, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1249/0.1249, allocations: 2.762 MB / 293.3 MB, free: 3.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 55.91 kB / 405.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.34, allocations: 50.24 MB / 456.1 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.05303/0.3931, allocations: 50.71 MB / 0.495 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03132/0.4244, allocations: 29.1 MB / 0.5234 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000967/0.4254, allocations: 4 kB / 0.5234 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.4276, allocations: 0.6097 MB / 0.524 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.4377, allocations: 2.246 MB / 0.5262 GB, free: 2.219 MB / 398.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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009838/0.4476, allocations: 2.926 MB / 0.5291 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.449, allocations: 0.9247 MB / 0.53 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4491, allocations: 57.75 kB / 0.53 GB, free: 14.29 MB / 414.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.5878/1.037, allocations: 51.71 MB / 0.5805 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/1.038, allocations: 306.6 kB / 0.5808 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/1.038, allocations: 44 kB / 0.5808 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3877/1.425, allocations: 27.24 MB / 0.6074 GB, free: 64.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/1.426, allocations: 112.4 kB / 0.6075 GB, free: 64.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006807/1.426, allocations: 336.4 kB / 0.6079 GB, free: 64.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0082/1.435, allocations: 1.855 MB / 0.6097 GB, free: 64.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.435, allocations: 1.438 kB / 0.6097 GB, free: 64.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/1.435, allocations: 0 / 0.6097 GB, free: 64.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.176e-05/1.435, allocations: 0.6562 kB / 0.6097 GB, free: 64.7 MB / 462.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.002646/1.437, allocations: 1.098 MB / 0.6108 GB, free: 64.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.437, allocations: 10.19 kB / 0.6108 GB, free: 64.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/1.44, allocations: 0.4932 MB / 0.6112 GB, free: 64.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/1.445, allocations: 342.4 kB / 0.6116 GB, free: 63.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.079e-05/1.445, allocations: 50 kB / 0.6116 GB, free: 63.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.445, allocations: 56.34 kB / 0.6117 GB, free: 63.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/1.447, allocations: 0.8723 MB / 0.6125 GB, free: 63.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.447, allocations: 4.312 kB / 0.6125 GB, free: 63.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/1.447, allocations: 29.31 kB / 0.6126 GB, free: 63.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/1.447, allocations: 31.75 kB / 0.6126 GB, free: 63.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.449, allocations: 0.7081 MB / 0.6133 GB, free: 63.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/1.452, allocations: 4.95 MB / 0.6181 GB, free: 59.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/1.453, allocations: 342.3 kB / 0.6184 GB, free: 59.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/1.453, allocations: 229.1 kB / 0.6187 GB, free: 59.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.454, allocations: 1.536 MB / 0.6202 GB, free: 58.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.454, allocations: 35.53 kB / 0.6202 GB, free: 58.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.053e-06/1.454, allocations: 0 / 0.6202 GB, free: 58.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.001699/1.456, allocations: 0.6269 MB / 0.6208 GB, free: 58.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/1.456, allocations: 85.52 kB / 0.6209 GB, free: 58.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/1.456, allocations: 176.9 kB / 0.6211 GB, free: 57.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/1.456, allocations: 31.33 kB / 0.6211 GB, free: 57.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.457, allocations: 273.6 kB / 0.6213 GB, free: 57.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.457, allocations: 245.7 kB / 0.6216 GB, free: 57.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.457, allocations: 96.47 kB / 0.6217 GB, free: 57.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/1.457, allocations: 344.1 kB / 0.622 GB, free: 57.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/1.457, allocations: 124 kB / 0.6221 GB, free: 57.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/1.457, allocations: 280.4 kB / 0.6224 GB, free: 57.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/1.458, allocations: 477 kB / 0.6228 GB, free: 56.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.458, allocations: 5.375 kB / 0.6228 GB, free: 56.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008407/1.459, allocations: 475.2 kB / 0.6233 GB, free: 56.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.459, allocations: 14.52 kB / 0.6233 GB, free: 56.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.459, allocations: 8.344 kB / 0.6233 GB, free: 56.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.459, allocations: 7.562 kB / 0.6233 GB, free: 56.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/1.459, allocations: 70.06 kB / 0.6234 GB, free: 56.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.459, allocations: 10.33 kB / 0.6234 GB, free: 56.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/1.46, allocations: 58.36 kB / 0.6235 GB, free: 56.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/1.46, allocations: 19.59 kB / 0.6235 GB, free: 56.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * 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.0002038/1.46, allocations: 197.2 kB / 0.6237 GB, free: 56.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/1.46, allocations: 28.12 kB / 0.6237 GB, free: 56.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/1.46, allocations: 33.42 kB / 0.6237 GB, free: 56.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.46, allocations: 2.844 kB / 0.6237 GB, free: 56.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.46, allocations: 2.625 kB / 0.6237 GB, free: 56.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.46, allocations: 4.047 kB / 0.6237 GB, free: 56.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/1.461, allocations: 0.4931 MB / 0.6242 GB, free: 56.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.461, allocations: 0 / 0.6242 GB, free: 56.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/1.461, allocations: 35.83 kB / 0.6242 GB, free: 56.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.461, allocations: 1.312 kB / 0.6243 GB, free: 56.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.461, allocations: 15.59 kB / 0.6243 GB, free: 56.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.461, allocations: 2.062 kB / 0.6243 GB, free: 56.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.461, allocations: 0.75 kB / 0.6243 GB, free: 56.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/1.462, allocations: 0.5241 MB / 0.6248 GB, free: 56.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/1.462, allocations: 118.3 kB / 0.6249 GB, free: 56.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/1.462, allocations: 13.38 kB / 0.6249 GB, free: 56.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/1.462, allocations: 10.98 kB / 0.6249 GB, free: 56.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/1.462, allocations: 26.17 kB / 0.6249 GB, free: 56.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/1.462, allocations: 10.27 kB / 0.625 GB, free: 56.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.579e-05/1.462, allocations: 116.7 kB / 0.6251 GB, free: 55.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.462, allocations: 2.625 kB / 0.6251 GB, free: 55.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008035/1.463, allocations: 196.1 kB / 0.6253 GB, free: 55.92 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.000527/1.463, allocations: 296 kB / 0.6255 GB, free: 55.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/1.464, allocations: 0.6162 MB / 0.6261 GB, free: 55.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.464, allocations: 1.188 kB / 0.6261 GB, free: 55.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000498/1.465, allocations: 0.5004 MB / 0.6266 GB, free: 55.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.466, allocations: 201.3 kB / 0.6268 GB, free: 55.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/1.468, allocations: 1.044 MB / 0.6278 GB, free: 54.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/1.468, allocations: 0.9465 MB / 0.6288 GB, free: 54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004908/1.468, allocations: 262.1 kB / 0.629 GB, free: 53.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/1.469, allocations: 50.44 kB / 0.6291 GB, free: 53.96 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/1.469, allocations: 0 / 0.6291 GB, free: 53.96 MB / 462.1 MB Notification: Performance of Templates: time 0.01691/1.485, allocations: 11.54 MB / 0.6403 GB, free: 45.73 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1)