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.001369/0.001369, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001533/0.001533, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.793 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.01228/0.01228, allocations: 2.793 MB / 315.2 MB, free: 112 kB / 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.00226/0.00226, allocations: 63.91 kB / 438.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1047, allocations: 54.17 MB / 492.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2914/0.3961, allocations: 45.39 MB / 0.5256 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02634/0.4224, allocations: 25.15 MB / 0.5502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.423, allocations: 6.688 kB / 0.5502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.4246, allocations: 0.5026 MB / 0.5506 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.4309, allocations: 2.186 MB / 0.5528 GB, free: 10.83 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.008519/0.4394, allocations: 2.881 MB / 0.5556 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.4408, allocations: 0.9362 MB / 0.5565 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4409, allocations: 29.41 kB / 0.5565 GB, free: 7.938 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.6935/1.134, allocations: 52 MB / 0.6073 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007559/1.135, allocations: 282.6 kB / 0.6076 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/1.135, allocations: 40 kB / 0.6076 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2269/1.362, allocations: 27.41 MB / 0.6344 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/1.362, allocations: 103.5 kB / 0.6345 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006195/1.363, allocations: 270.8 kB / 0.6347 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006651/1.37, allocations: 1.862 MB / 0.6366 GB, free: 7.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.37, allocations: 0 / 0.6366 GB, free: 7.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/1.37, allocations: 0 / 0.6366 GB, free: 7.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/1.37, allocations: 0 / 0.6366 GB, free: 7.547 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.001786/1.372, allocations: 1.049 MB / 0.6376 GB, free: 6.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.372, allocations: 12.03 kB / 0.6376 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/1.372, allocations: 119 kB / 0.6377 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/1.374, allocations: 0.4961 MB / 0.6382 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/1.377, allocations: 277.7 kB / 0.6385 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/1.377, allocations: 49.88 kB / 0.6385 GB, free: 5.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/1.377, allocations: 55.94 kB / 0.6386 GB, free: 5.434 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.379, allocations: 0.9732 MB / 0.6395 GB, free: 4.383 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.379, allocations: 11.92 kB / 0.6395 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/1.379, allocations: 24 kB / 0.6395 GB, free: 4.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/1.38, allocations: 31.98 kB / 0.6396 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.381, allocations: 0.7123 MB / 0.6403 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/1.385, allocations: 2.733 MB / 0.6429 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/1.385, allocations: 273.2 kB / 0.6432 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/1.386, allocations: 173.3 kB / 0.6434 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/1.387, allocations: 0.8769 MB / 0.6442 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/1.387, allocations: 30.56 kB / 0.6443 GB, free: 15.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.054e-06/1.387, allocations: 7.938 kB / 0.6443 GB, free: 15.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001751/1.389, allocations: 0.628 MB / 0.6449 GB, free: 14.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/1.389, allocations: 85.05 kB / 0.645 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/1.389, allocations: 174.1 kB / 0.6451 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/1.389, allocations: 33.7 kB / 0.6452 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/1.389, allocations: 284.5 kB / 0.6454 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/1.39, allocations: 257.6 kB / 0.6457 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/1.39, allocations: 97.97 kB / 0.6458 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/1.39, allocations: 342.8 kB / 0.6461 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/1.39, allocations: 121.3 kB / 0.6462 GB, free: 13.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/1.391, allocations: 293.3 kB / 0.6465 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000789/1.392, allocations: 477.6 kB / 0.6469 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.392, allocations: 0 / 0.6469 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000917/1.393, allocations: 476.1 kB / 0.6474 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.393, allocations: 15.92 kB / 0.6474 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.393, allocations: 4.625 kB / 0.6474 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.393, allocations: 12 kB / 0.6474 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/1.393, allocations: 71.84 kB / 0.6475 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.393, allocations: 8 kB / 0.6475 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/1.393, allocations: 59.5 kB / 0.6476 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/1.393, allocations: 20 kB / 0.6476 GB, free: 11.77 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.0002372/1.393, allocations: 189.7 kB / 0.6478 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/1.394, allocations: 31.75 kB / 0.6478 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/1.394, allocations: 29.95 kB / 0.6478 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.394, allocations: 4 kB / 0.6478 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.394, allocations: 4 kB / 0.6478 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.394, allocations: 0 / 0.6478 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/1.394, allocations: 448 kB / 0.6483 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.394, allocations: 0 / 0.6483 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/1.394, allocations: 27.98 kB / 0.6483 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.394, allocations: 3.938 kB / 0.6483 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.394, allocations: 11.98 kB / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.394, allocations: 0 / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.394, allocations: 4 kB / 0.6483 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/1.395, allocations: 0.5254 MB / 0.6488 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/1.395, allocations: 39.64 kB / 0.6489 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/1.395, allocations: 11.92 kB / 0.6489 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1.396, allocations: 12 kB / 0.6489 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/1.396, allocations: 20.33 kB / 0.6489 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.396, allocations: 12 kB / 0.6489 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001715/1.396, allocations: 120.1 kB / 0.649 GB, free: 10.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.396, allocations: 0 / 0.649 GB, free: 10.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006638/1.396, allocations: 203.4 kB / 0.6492 GB, free: 10.02 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.001722/1.398, allocations: 1.275 MB / 0.6505 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009173/1.399, allocations: 0.5565 MB / 0.651 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.399, allocations: 0 / 0.651 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/1.4, allocations: 484.1 kB / 0.6515 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/1.401, allocations: 196.1 kB / 0.6516 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/1.407, allocations: 3.63 MB / 0.6552 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/1.407, allocations: 353.7 kB / 0.6555 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005582/1.408, allocations: 257.8 kB / 0.6558 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.408, allocations: 271.3 kB / 0.656 GB, free: 2.668 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/1.408, allocations: 0 / 0.656 GB, free: 2.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05677/1.465, allocations: 19.59 MB / 0.6752 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/13.27, allocations: 15.05 kB / 0.6752 GB, free: 15.18 MB / 0.5137 GB " [Timeout remaining time 646] (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: 16.452004169113934] Failed to read output from testmodel.py, exit status != 0: 13.603591511957347 13.630056746 12.254720211 Calling exit ...