Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 113.4 kB / 16.42 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.001032/0.001032, allocations: 187.7 kB / 17.35 MB, free: 5.625 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01165/0.01165, allocations: 2.773 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.84 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07182/0.07304, allocations: 50.23 MB / 456.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.04248/0.1156, allocations: 50.71 MB / 0.4957 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1991/0.3147, allocations: 29.09 MB / 0.5241 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.3151, allocations: 3.062 kB / 0.5241 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.3165, allocations: 0.6196 MB / 0.5247 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.3214, allocations: 2.247 MB / 0.5269 GB, free: 3.246 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00696/0.3284, allocations: 2.916 MB / 0.5297 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009176/0.3293, allocations: 0.923 MB / 0.5306 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3295, allocations: 67.83 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.3331/0.6626, allocations: 51.06 MB / 0.5805 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007197/0.6633, allocations: 300.5 kB / 0.5808 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.6634, allocations: 44 kB / 0.5809 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1657/0.8292, allocations: 26.92 MB / 0.6072 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.8294, allocations: 115.8 kB / 0.6073 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.8299, allocations: 339.3 kB / 0.6076 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006626/0.8366, allocations: 1.862 MB / 0.6094 GB, free: 3.035 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8366, allocations: 3.938 kB / 0.6094 GB, free: 3.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.8366, allocations: 0 / 0.6094 GB, free: 3.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.8366, allocations: 0 / 0.6094 GB, free: 3.031 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.001572/0.8382, allocations: 1.126 MB / 0.6105 GB, free: 1.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8383, allocations: 8.031 kB / 0.6105 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.8402, allocations: 0.5 MB / 0.611 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.8422, allocations: 342.3 kB / 0.6113 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.8422, allocations: 46.06 kB / 0.6114 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.8423, allocations: 60 kB / 0.6114 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.8438, allocations: 0.8645 MB / 0.6123 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.8438, allocations: 3.938 kB / 0.6123 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.8439, allocations: 28 kB / 0.6123 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.8439, allocations: 35.97 kB / 0.6124 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.8452, allocations: 0.7 MB / 0.613 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.849, allocations: 5.01 MB / 0.6179 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.8497, allocations: 325.1 kB / 0.6182 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.85, allocations: 225.5 kB / 0.6185 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.8514, allocations: 1.531 MB / 0.62 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.8515, allocations: 34.56 kB / 0.62 GB, free: 7.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.824e-06/0.8515, allocations: 0 / 0.62 GB, free: 7.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001496/0.853, allocations: 0.5932 MB / 0.6206 GB, free: 6.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.853, allocations: 81.05 kB / 0.6206 GB, free: 6.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.8532, allocations: 174.8 kB / 0.6208 GB, free: 6.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.8532, allocations: 33.7 kB / 0.6208 GB, free: 6.391 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.8534, allocations: 300.3 kB / 0.6211 GB, free: 6.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.8536, allocations: 247.2 kB / 0.6214 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.8537, allocations: 97.95 kB / 0.6215 GB, free: 5.746 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8538, allocations: 338.8 kB / 0.6218 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.854, allocations: 117.3 kB / 0.6219 GB, free: 5.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.8544, allocations: 296.7 kB / 0.6222 GB, free: 4.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.855, allocations: 499.3 kB / 0.6227 GB, free: 4.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.855, allocations: 0 / 0.6227 GB, free: 4.367 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007667/0.8558, allocations: 484.4 kB / 0.6231 GB, free: 3.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8558, allocations: 4 kB / 0.6231 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8558, allocations: 8 kB / 0.6231 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.8558, allocations: 15.88 kB / 0.6231 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.8561, allocations: 63.91 kB / 0.6232 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.8561, allocations: 16.45 kB / 0.6232 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.8563, allocations: 63.52 kB / 0.6233 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.8564, allocations: 24 kB / 0.6233 GB, free: 3.695 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.0002175/0.8566, allocations: 194.6 kB / 0.6235 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.8567, allocations: 23.81 kB / 0.6235 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.8568, allocations: 34.59 kB / 0.6235 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8568, allocations: 0 / 0.6235 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8568, allocations: 3.938 kB / 0.6235 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.8569, allocations: 120.7 kB / 0.6237 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.8569, allocations: 0 / 0.6237 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.8571, allocations: 12 kB / 0.6237 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.8572, allocations: 15.92 kB / 0.6237 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006213/0.8578, allocations: 487.7 kB / 0.6242 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006211/0.8584, allocations: 0.5869 MB / 0.6247 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002301/0.8587, allocations: 152.2 kB / 0.6249 GB, free: 2.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.855e-05/0.8587, allocations: 132.2 kB / 0.625 GB, free: 1.914 MB / 462.1 MB Notification: Performance of Backend: time 5.71e-07/0.8588, allocations: 0 / 0.625 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.8618, allocations: 1.543 MB / 0.6265 GB, free: 0.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.001874/0.8637, allocations: 1.791 MB / 0.6283 GB, free: 14.59 MB / 478.1 MB Notification: Performance of Templates: time 0.03253/0.8962, allocations: 22.67 MB / 0.6504 GB, free: 7.914 MB / 494.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1)