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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.864/0.864, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007755/0.007755, allocations: 1.992 MB / 261.2 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.186e-05, allocations: 2.281 kB / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1658/0.1658, allocations: 45.15 MB / 429.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1788, allocations: 25.13 MB / 454.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.1794, allocations: 6.469 kB / 455 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.1806, allocations: 0.5172 MB / 455.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.1858, allocations: 2.262 MB / 457.7 MB, free: 10.42 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.1.1/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.007347/0.1932, allocations: 2.996 MB / 460.7 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1943, allocations: 0.9653 MB / 461.7 MB, free: 7.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1944, allocations: 28.23 kB / 461.7 MB, free: 7.383 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.7652/0.9596, allocations: 52.14 MB / 0.5018 GB, free: 5.324 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.9603, allocations: 247.3 kB / 0.5021 GB, free: 5.082 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.9603, allocations: 40 kB / 0.5021 GB, free: 5.043 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07768/1.038, allocations: 27.39 MB / 0.5288 GB, free: 9.473 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/1.038, allocations: 107.5 kB / 0.5289 GB, free: 9.367 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/1.039, allocations: 231.5 kB / 0.5292 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004456/1.043, allocations: 1.905 MB / 0.531 GB, free: 7.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.043, allocations: 0 / 0.531 GB, free: 7.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.043, allocations: 4 kB / 0.531 GB, free: 7.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/1.043, allocations: 0 / 0.531 GB, free: 7.227 MB / 426.7 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.001171/1.044, allocations: 1.04 MB / 0.532 GB, free: 6.156 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.044, allocations: 12.03 kB / 0.5321 GB, free: 6.145 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.883e-05/1.044, allocations: 119 kB / 0.5322 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.045, allocations: 0.4961 MB / 0.5327 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/1.046, allocations: 280.9 kB / 0.5329 GB, free: 5.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/1.046, allocations: 45.69 kB / 0.533 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/1.046, allocations: 52.38 kB / 0.533 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/1.047, allocations: 0.9776 MB / 0.534 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.047, allocations: 11.88 kB / 0.534 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/1.047, allocations: 20 kB / 0.534 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/1.047, allocations: 31.98 kB / 0.534 GB, free: 4.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.048, allocations: 0.7162 MB / 0.5347 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/1.05, allocations: 2.777 MB / 0.5374 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/1.051, allocations: 258.9 kB / 0.5377 GB, free: 156 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/1.051, allocations: 174.2 kB / 0.5379 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/1.051, allocations: 0.8622 MB / 0.5387 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/1.051, allocations: 38.56 kB / 0.5387 GB, free: 15.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/1.051, allocations: 0 / 0.5387 GB, free: 15.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008516/1.052, allocations: 0.5975 MB / 0.5393 GB, free: 14.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/1.052, allocations: 84.98 kB / 0.5394 GB, free: 14.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.052, allocations: 190.6 kB / 0.5396 GB, free: 14.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/1.052, allocations: 29.7 kB / 0.5396 GB, free: 14.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.053, allocations: 296.4 kB / 0.5399 GB, free: 13.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/1.053, allocations: 237.8 kB / 0.5401 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/1.053, allocations: 97.95 kB / 0.5402 GB, free: 13.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/1.053, allocations: 350.8 kB / 0.5405 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/1.053, allocations: 113.3 kB / 0.5407 GB, free: 13.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/1.053, allocations: 307.9 kB / 0.541 GB, free: 12.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/1.054, allocations: 476.8 kB / 0.5414 GB, free: 12.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.054, allocations: 0 / 0.5414 GB, free: 12.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004514/1.054, allocations: 492.1 kB / 0.5419 GB, free: 11.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.054, allocations: 8.719 kB / 0.5419 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.054, allocations: 8 kB / 0.5419 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.054, allocations: 8 kB / 0.5419 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/1.054, allocations: 75.84 kB / 0.542 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.054, allocations: 7.938 kB / 0.542 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.055, allocations: 67.44 kB / 0.542 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/1.055, allocations: 20 kB / 0.5421 GB, free: 11.42 MB / 442.7 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.0001465/1.055, allocations: 185.8 kB / 0.5422 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/1.055, allocations: 27.81 kB / 0.5423 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/1.055, allocations: 26.64 kB / 0.5423 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.055, allocations: 8 kB / 0.5423 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.055, allocations: 3.938 kB / 0.5423 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.055, allocations: 0 / 0.5423 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/1.055, allocations: 448 kB / 0.5427 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.055, allocations: 0 / 0.5427 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/1.055, allocations: 23.98 kB / 0.5428 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.055, allocations: 0 / 0.5428 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.055, allocations: 8 kB / 0.5428 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.055, allocations: 4 kB / 0.5428 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.055, allocations: 8.109 kB / 0.5428 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/1.056, allocations: 0.5139 MB / 0.5433 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/1.056, allocations: 39.62 kB / 0.5433 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/1.056, allocations: 0 / 0.5433 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/1.056, allocations: 12 kB / 0.5433 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/1.056, allocations: 19.91 kB / 0.5433 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/1.056, allocations: 12 kB / 0.5434 GB, free: 10.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.648e-05/1.056, allocations: 115.2 kB / 0.5435 GB, free: 9.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/1.056, allocations: 0 / 0.5435 GB, free: 9.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004571/1.056, allocations: 207.4 kB / 0.5437 GB, free: 9.707 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.0009203/1.057, allocations: 1.252 MB / 0.5449 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/1.058, allocations: 0.557 MB / 0.5454 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.058, allocations: 0 / 0.5454 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.058, allocations: 456.1 kB / 0.5459 GB, free: 7.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/1.059, allocations: 191 kB / 0.546 GB, free: 7.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.062, allocations: 3.594 MB / 0.5496 GB, free: 3.316 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/1.062, allocations: 348.7 kB / 0.5499 GB, free: 2.949 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003922/1.062, allocations: 261.8 kB / 0.5501 GB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.063, allocations: 280.4 kB / 0.5504 GB, free: 2.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/1.063, allocations: 4 kB / 0.5504 GB, free: 2.406 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/1.093, allocations: 19.15 MB / 0.5691 GB, free: 15.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/8.568, allocations: 3.984 kB / 0.5691 GB, free: 15.29 MB / 474.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.182477719150484] Failed to read output from testmodel.py, exit status != 0: 8.906222865916789 8.917747323 7.872844125 Calling exit ...