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.001065/0.001065, 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.001198/0.001198, allocations: 169.9 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.8761/0.8761, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.007742/0.007742, allocations: 1.985 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.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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 384.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.43e-05, allocations: 2.281 kB / 384.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1946/0.1946, allocations: 45.17 MB / 429.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2078, allocations: 25.14 MB / 455 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.2081, allocations: 6.469 kB / 455 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.2092, allocations: 0.5142 MB / 455.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.2134, allocations: 2.271 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.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.1.1/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.006168/0.2196, allocations: 2.982 MB / 460.7 MB, free: 8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008219/0.2204, allocations: 0.9779 MB / 461.7 MB, free: 7.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.2205, allocations: 26.81 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.7624/0.9829, allocations: 52.13 MB / 0.5018 GB, free: 5.324 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.9835, allocations: 243.3 kB / 0.5021 GB, free: 5.086 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.9835, allocations: 40 kB / 0.5021 GB, free: 5.047 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07445/1.058, allocations: 27.39 MB / 0.5288 GB, free: 9.477 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/1.058, allocations: 119.4 kB / 0.529 GB, free: 9.359 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/1.059, allocations: 227.5 kB / 0.5292 GB, free: 9.137 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004471/1.063, allocations: 1.897 MB / 0.531 GB, free: 7.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.063, allocations: 3.984 kB / 0.531 GB, free: 7.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.063, allocations: 0 / 0.531 GB, free: 7.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/1.063, allocations: 0 / 0.531 GB, free: 7.23 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.001399/1.064, allocations: 1.037 MB / 0.532 GB, free: 6.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.065, allocations: 12.03 kB / 0.5321 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/1.065, allocations: 115 kB / 0.5322 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.066, allocations: 0.5 MB / 0.5327 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/1.066, allocations: 277 kB / 0.5329 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/1.066, allocations: 45.69 kB / 0.533 GB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/1.066, allocations: 52.38 kB / 0.533 GB, free: 5.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/1.067, allocations: 0.9814 MB / 0.534 GB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.067, allocations: 11.88 kB / 0.534 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/1.067, allocations: 24 kB / 0.534 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/1.067, allocations: 31.98 kB / 0.534 GB, free: 4.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/1.068, allocations: 0.7162 MB / 0.5347 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/1.07, allocations: 2.73 MB / 0.5374 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/1.071, allocations: 273.1 kB / 0.5377 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/1.071, allocations: 162.4 kB / 0.5378 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.072, allocations: 0.887 MB / 0.5387 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/1.072, allocations: 42.5 kB / 0.5387 GB, free: 15.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 1.562e-06/1.072, allocations: 0 / 0.5387 GB, free: 15.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.0009551/1.073, allocations: 0.6196 MB / 0.5393 GB, free: 14.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.073, allocations: 81.11 kB / 0.5394 GB, free: 14.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/1.073, allocations: 179.4 kB / 0.5396 GB, free: 14.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/1.073, allocations: 29.7 kB / 0.5396 GB, free: 14.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.073, allocations: 288.6 kB / 0.5399 GB, free: 13.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.073, allocations: 249.6 kB / 0.5401 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/1.073, allocations: 97.95 kB / 0.5402 GB, free: 13.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/1.073, allocations: 342.8 kB / 0.5405 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.074, allocations: 121.3 kB / 0.5407 GB, free: 13.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.074, allocations: 293.3 kB / 0.5409 GB, free: 12.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/1.074, allocations: 477.5 kB / 0.5414 GB, free: 12.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.074, allocations: 0 / 0.5414 GB, free: 12.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0005479/1.075, allocations: 484.7 kB / 0.5419 GB, free: 11.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.075, allocations: 8 kB / 0.5419 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.075, allocations: 8.031 kB / 0.5419 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.075, allocations: 8 kB / 0.5419 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/1.075, allocations: 71.84 kB / 0.5419 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.075, allocations: 11.94 kB / 0.542 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.075, allocations: 59.5 kB / 0.542 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/1.075, allocations: 20 kB / 0.542 GB, free: 11.47 MB / 442.7 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.0001742/1.075, allocations: 189.9 kB / 0.5422 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/1.075, allocations: 31.8 kB / 0.5422 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/1.076, allocations: 29.97 kB / 0.5423 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.076, allocations: 4 kB / 0.5423 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.076, allocations: 3.938 kB / 0.5423 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.076, allocations: 0 / 0.5423 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/1.076, allocations: 451.5 kB / 0.5427 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.076, allocations: 4 kB / 0.5427 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/1.076, allocations: 36.28 kB / 0.5427 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.076, allocations: 3.938 kB / 0.5427 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.076, allocations: 8 kB / 0.5428 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.076, allocations: 0 / 0.5428 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.076, allocations: 15.88 kB / 0.5428 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/1.076, allocations: 0.5216 MB / 0.5433 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/1.077, allocations: 43.58 kB / 0.5433 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/1.077, allocations: 4 kB / 0.5433 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.077, allocations: 8 kB / 0.5433 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/1.077, allocations: 27.89 kB / 0.5434 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/1.077, allocations: 12 kB / 0.5434 GB, free: 10.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.209e-05/1.077, allocations: 119.2 kB / 0.5435 GB, free: 9.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.077, allocations: 4 kB / 0.5435 GB, free: 9.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004826/1.077, allocations: 199.5 kB / 0.5437 GB, free: 9.703 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: 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.001019/1.078, allocations: 1.263 MB / 0.5449 GB, free: 8.414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008423/1.079, allocations: 0.5607 MB / 0.5455 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.079, allocations: 0 / 0.5455 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/1.079, allocations: 472.7 kB / 0.5459 GB, free: 7.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/1.08, allocations: 193.8 kB / 0.5461 GB, free: 7.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/1.083, allocations: 3.6 MB / 0.5496 GB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.083, allocations: 353.7 kB / 0.5499 GB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003993/1.084, allocations: 269.7 kB / 0.5502 GB, free: 2.652 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/1.084, allocations: 276.4 kB / 0.5505 GB, free: 2.379 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/1.084, allocations: 3.938 kB / 0.5505 GB, free: 2.375 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/1.116, allocations: 19.67 MB / 0.5697 GB, free: 14.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.589, allocations: 3.859 kB / 0.5697 GB, free: 14.79 MB / 474.7 MB " [Timeout remaining time 651] (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: 11.3133708788082] Failed to read output from testmodel.py, exit status != 0: 8.931139677762985 8.940204372 7.875241693 Calling exit ...