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.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.00131/0.00131, allocations: 110.1 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001431/0.001431, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01282/0.01282, allocations: 2.801 MB / 311.7 MB, free: 1.449 MB / 238.1 MB " [Timeout remaining time 180] 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.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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.89 kB / 433.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1045, allocations: 54.14 MB / 487.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2836/0.3881, allocations: 51.03 MB / 0.5261 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02385/0.4119, allocations: 29.15 MB / 0.5546 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000826/0.4128, allocations: 6.375 kB / 0.5546 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.415, allocations: 0.6152 MB / 0.5552 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008662/0.4237, allocations: 2.246 MB / 0.5574 GB, free: 9.18 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.01065/0.4343, allocations: 2.916 MB / 0.5602 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.436, allocations: 0.9298 MB / 0.5611 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4361, allocations: 29.22 kB / 0.5611 GB, free: 7.215 MB / 398.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.701/1.137, allocations: 51.85 MB / 0.6118 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008484/1.138, allocations: 314.6 kB / 0.6121 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/1.138, allocations: 40 kB / 0.6121 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2265/1.365, allocations: 27.34 MB / 0.6388 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/1.365, allocations: 111.5 kB / 0.6389 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/1.366, allocations: 330.5 kB / 0.6392 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006901/1.372, allocations: 1.866 MB / 0.6411 GB, free: 11.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.372, allocations: 0 / 0.6411 GB, free: 11.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/1.372, allocations: 7.938 kB / 0.6411 GB, free: 11.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/1.372, allocations: 0 / 0.6411 GB, free: 11.36 MB / 478.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.001723/1.374, allocations: 1.125 MB / 0.6422 GB, free: 10.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.374, allocations: 15.98 kB / 0.6422 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/1.374, allocations: 115.1 kB / 0.6423 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/1.376, allocations: 0.5039 MB / 0.6428 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/1.38, allocations: 335.5 kB / 0.6431 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/1.38, allocations: 45.88 kB / 0.6431 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/1.38, allocations: 55.94 kB / 0.6432 GB, free: 9.082 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/1.382, allocations: 0.8684 MB / 0.644 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/1.382, allocations: 0 / 0.644 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/1.382, allocations: 28 kB / 0.6441 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/1.382, allocations: 31.98 kB / 0.6441 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/1.384, allocations: 0.7039 MB / 0.6448 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/1.389, allocations: 4.959 MB / 0.6496 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/1.39, allocations: 285 kB / 0.6499 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/1.39, allocations: 165.5 kB / 0.6501 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.392, allocations: 1.558 MB / 0.6516 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.392, allocations: 34.56 kB / 0.6516 GB, free: 15.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.154e-06/1.392, allocations: 0 / 0.6516 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001796/1.393, allocations: 0.6244 MB / 0.6522 GB, free: 14.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/1.393, allocations: 81.11 kB / 0.6523 GB, free: 14.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/1.394, allocations: 178 kB / 0.6525 GB, free: 14.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/1.394, allocations: 33.7 kB / 0.6525 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/1.394, allocations: 276.6 kB / 0.6528 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/1.394, allocations: 257.6 kB / 0.653 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.394, allocations: 97.95 kB / 0.6531 GB, free: 14.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003975/1.395, allocations: 338.8 kB / 0.6534 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/1.395, allocations: 121.3 kB / 0.6535 GB, free: 13.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/1.395, allocations: 294.7 kB / 0.6538 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/1.396, allocations: 477.5 kB / 0.6543 GB, free: 12.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.396, allocations: 0 / 0.6543 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009365/1.397, allocations: 476.8 kB / 0.6547 GB, free: 12.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.397, allocations: 11.94 kB / 0.6547 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.397, allocations: 4 kB / 0.6548 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.397, allocations: 8.094 kB / 0.6548 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.398, allocations: 79.77 kB / 0.6548 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.398, allocations: 8 kB / 0.6548 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/1.398, allocations: 63.81 kB / 0.6549 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/1.398, allocations: 24 kB / 0.6549 GB, free: 12 MB / 494.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.0002868/1.398, allocations: 189.7 kB / 0.6551 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/1.398, allocations: 31.75 kB / 0.6551 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/1.398, allocations: 25.97 kB / 0.6552 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.398, allocations: 7.984 kB / 0.6552 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.398, allocations: 0 / 0.6552 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.398, allocations: 0 / 0.6552 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/1.399, allocations: 0.4911 MB / 0.6556 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.399, allocations: 3.984 kB / 0.6557 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/1.399, allocations: 35.98 kB / 0.6557 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.399, allocations: 7.938 kB / 0.6557 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/1.399, allocations: 8 kB / 0.6557 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.399, allocations: 3.938 kB / 0.6557 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.399, allocations: 0 / 0.6557 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/1.4, allocations: 0.5294 MB / 0.6562 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.4, allocations: 116.7 kB / 0.6563 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/1.4, allocations: 7.938 kB / 0.6563 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/1.401, allocations: 7.984 kB / 0.6563 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/1.401, allocations: 23.97 kB / 0.6564 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/1.401, allocations: 12 kB / 0.6564 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001027/1.401, allocations: 120.1 kB / 0.6565 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.401, allocations: 3.938 kB / 0.6565 GB, free: 10.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007375/1.402, allocations: 195.5 kB / 0.6567 GB, free: 10.1 MB / 494.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.001698/1.403, allocations: 1.271 MB / 0.6579 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009975/1.404, allocations: 0.5603 MB / 0.6585 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.404, allocations: 4 kB / 0.6585 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/1.405, allocations: 468.1 kB / 0.6589 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.406, allocations: 196.9 kB / 0.6591 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/1.411, allocations: 3.625 MB / 0.6627 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/1.412, allocations: 0.9475 MB / 0.6636 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005613/1.413, allocations: 257.8 kB / 0.6638 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/1.413, allocations: 271.3 kB / 0.6641 GB, free: 2.156 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/1.413, allocations: 0 / 0.6641 GB, free: 2.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/1.462, allocations: 18.64 MB / 0.6823 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.583/11.05, allocations: 12.06 kB / 0.6823 GB, free: 15.57 MB / 0.5137 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical_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_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.200711579993367] Failed to read output from testmodel.py, exit status != 0: 11.340963293332607 11.356636064 9.980921664 Calling exit ...