Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.000935, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.0009481/0.0009481, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0115/0.0115, allocations: 2.785 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.84 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06913/0.07033, allocations: 50.23 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.04096/0.1113, allocations: 50.72 MB / 0.4957 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2059/0.3172, allocations: 29.09 MB / 0.5241 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.3177, allocations: 10.06 kB / 0.5241 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.3191, allocations: 0.612 MB / 0.5247 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.3244, allocations: 2.248 MB / 0.5269 GB, free: 3.207 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007007/0.3314, allocations: 2.928 MB / 0.5297 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009828/0.3324, allocations: 0.9224 MB / 0.5306 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.3325, allocations: 58.2 kB / 0.5307 GB, free: 2.008 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.3339/0.6665, allocations: 51.05 MB / 0.5805 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.6671, allocations: 301.8 kB / 0.5808 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.083e-05/0.6672, allocations: 43.94 kB / 0.5809 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1705/0.8378, allocations: 26.94 MB / 0.6072 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.8382, allocations: 109.1 kB / 0.6073 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000543/0.8388, allocations: 339.1 kB / 0.6076 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006231/0.845, allocations: 1.853 MB / 0.6094 GB, free: 3.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.845, allocations: 4 kB / 0.6094 GB, free: 3.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.8451, allocations: 3.938 kB / 0.6094 GB, free: 3.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.8451, allocations: 0 / 0.6094 GB, free: 3.047 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.001543/0.8466, allocations: 1.102 MB / 0.6105 GB, free: 1.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8467, allocations: 8.031 kB / 0.6105 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.8487, allocations: 0.4997 MB / 0.611 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.8502, allocations: 335.4 kB / 0.6113 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.8503, allocations: 46.06 kB / 0.6114 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.8503, allocations: 52 kB / 0.6114 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.8518, allocations: 0.8762 MB / 0.6123 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.8519, allocations: 0 / 0.6123 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.8519, allocations: 28.05 kB / 0.6123 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.852, allocations: 39.92 kB / 0.6123 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.8533, allocations: 0.6961 MB / 0.613 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.8569, allocations: 4.953 MB / 0.6178 GB, free: 9.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.8576, allocations: 345.1 kB / 0.6182 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.858, allocations: 221.7 kB / 0.6184 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.8593, allocations: 1.543 MB / 0.6199 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.8594, allocations: 34.56 kB / 0.6199 GB, free: 7.379 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 4.097e-06/0.8594, allocations: 3.984 kB / 0.6199 GB, free: 7.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.0017/0.8611, allocations: 0.6237 MB / 0.6205 GB, free: 6.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.8611, allocations: 85.05 kB / 0.6206 GB, free: 6.645 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.8613, allocations: 187.5 kB / 0.6208 GB, free: 6.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.8613, allocations: 25.7 kB / 0.6208 GB, free: 6.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.8615, allocations: 275 kB / 0.6211 GB, free: 6.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.8616, allocations: 238.5 kB / 0.6213 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.8617, allocations: 93.91 kB / 0.6214 GB, free: 5.816 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003193/0.8621, allocations: 342.8 kB / 0.6217 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.8624, allocations: 121.3 kB / 0.6218 GB, free: 5.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.8627, allocations: 293.4 kB / 0.6221 GB, free: 5.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.8634, allocations: 477.5 kB / 0.6226 GB, free: 4.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8634, allocations: 0 / 0.6226 GB, free: 4.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008515/0.8643, allocations: 476.2 kB / 0.623 GB, free: 3.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.8643, allocations: 8 kB / 0.623 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.8643, allocations: 4 kB / 0.623 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.8644, allocations: 15.92 kB / 0.6231 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.8647, allocations: 71.84 kB / 0.6231 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8647, allocations: 12 kB / 0.6231 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.8649, allocations: 67.64 kB / 0.6232 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.865, allocations: 20.38 kB / 0.6232 GB, free: 3.801 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.0002021/0.8652, allocations: 189.7 kB / 0.6234 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.8653, allocations: 31.62 kB / 0.6234 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.8653, allocations: 33.89 kB / 0.6235 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8653, allocations: 3.938 kB / 0.6235 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8654, allocations: 4 kB / 0.6235 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.8654, allocations: 108.6 kB / 0.6236 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.8655, allocations: 4 kB / 0.6236 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.8657, allocations: 15.98 kB / 0.6236 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.8658, allocations: 19.97 kB / 0.6236 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007767/0.8666, allocations: 0.4966 MB / 0.6241 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007419/0.8673, allocations: 0.6037 MB / 0.6247 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003025/0.8676, allocations: 167.9 kB / 0.6248 GB, free: 2.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.8677, allocations: 119.2 kB / 0.625 GB, free: 1.973 MB / 462.1 MB Notification: Performance of Backend: time 3.31e-07/0.8677, allocations: 0 / 0.625 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.8703, allocations: 1.546 MB / 0.6265 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of SimCode: time 0.001724/0.872, allocations: 1.774 MB / 0.6282 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Templates: time 0.03279/0.9048, allocations: 23.19 MB / 0.6508 GB, free: 7.477 MB / 494.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1)