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.001289/0.001289, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.001442/0.001442, allocations: 225.6 kB / 22.26 MB, free: 5.211 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 8 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.01361/0.01361, allocations: 2.797 MB / 315.2 MB, free: 292 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.002006/0.002006, allocations: 75.88 kB / 438.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1055, allocations: 54.18 MB / 492.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2855/0.3909, allocations: 51.31 MB / 0.5314 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03346/0.4244, allocations: 29.2 MB / 0.56 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.4254, allocations: 2.094 kB / 0.56 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.4279, allocations: 0.622 MB / 0.5606 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008953/0.4368, allocations: 2.25 MB / 0.5628 GB, free: 2.539 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.01037/0.4472, allocations: 2.933 MB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.4489, allocations: 0.9326 MB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.449, allocations: 33.95 kB / 0.5666 GB, free: 15.59 MB / 414.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.6894/1.138, allocations: 52 MB / 0.6174 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008743/1.139, allocations: 298.7 kB / 0.6176 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/1.139, allocations: 40 kB / 0.6177 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2274/1.367, allocations: 27.4 MB / 0.6444 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/1.367, allocations: 119.4 kB / 0.6446 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006848/1.368, allocations: 338.4 kB / 0.6449 GB, free: 356 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008785/1.376, allocations: 1.866 MB / 0.6467 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.376, allocations: 0 / 0.6467 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/1.376, allocations: 0 / 0.6467 GB, free: 14.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/1.376, allocations: 0 / 0.6467 GB, free: 14.48 MB / 494.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.001832/1.378, allocations: 1.053 MB / 0.6477 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.378, allocations: 12.03 kB / 0.6477 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/1.379, allocations: 119 kB / 0.6478 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/1.381, allocations: 0.5 MB / 0.6483 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/1.384, allocations: 277.7 kB / 0.6486 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/1.384, allocations: 49.81 kB / 0.6486 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/1.384, allocations: 55.94 kB / 0.6487 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/1.386, allocations: 0.8727 MB / 0.6496 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.386, allocations: 4 kB / 0.6496 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/1.386, allocations: 31.98 kB / 0.6496 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/1.386, allocations: 31.98 kB / 0.6496 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/1.388, allocations: 0.72 MB / 0.6503 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/1.393, allocations: 4.92 MB / 0.6551 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/1.394, allocations: 277 kB / 0.6554 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/1.394, allocations: 169.5 kB / 0.6556 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.396, allocations: 0.9197 MB / 0.6565 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.396, allocations: 42.55 kB / 0.6565 GB, free: 3.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 1.644e-06/1.396, allocations: 0 / 0.6565 GB, free: 3.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001713/1.397, allocations: 0.6241 MB / 0.6571 GB, free: 3.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/1.397, allocations: 81.11 kB / 0.6572 GB, free: 2.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/1.398, allocations: 178.1 kB / 0.6573 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.961e-05/1.398, allocations: 33.7 kB / 0.6574 GB, free: 2.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/1.398, allocations: 280.5 kB / 0.6576 GB, free: 2.441 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.398, allocations: 245.8 kB / 0.6579 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.398, allocations: 97.95 kB / 0.658 GB, free: 2.094 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/1.399, allocations: 346.8 kB / 0.6583 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/1.399, allocations: 125.4 kB / 0.6584 GB, free: 1.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/1.399, allocations: 285.4 kB / 0.6587 GB, free: 1.277 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/1.4, allocations: 481.5 kB / 0.6592 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.4, allocations: 4 kB / 0.6592 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008707/1.401, allocations: 480.2 kB / 0.6596 GB, free: 264 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.401, allocations: 11.94 kB / 0.6596 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.401, allocations: 4 kB / 0.6596 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.229e-05/1.401, allocations: 8 kB / 0.6596 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/1.401, allocations: 72.48 kB / 0.6597 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.401, allocations: 11.94 kB / 0.6597 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/1.401, allocations: 67.44 kB / 0.6598 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1.401, allocations: 20 kB / 0.6598 GB, free: 68 kB / 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.0002546/1.402, allocations: 189.7 kB / 0.66 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/1.402, allocations: 39.69 kB / 0.66 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/1.402, allocations: 25.97 kB / 0.66 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.402, allocations: 3.984 kB / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.402, allocations: 8 kB / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.402, allocations: 0 / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/1.403, allocations: 464.1 kB / 0.6605 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.403, allocations: 4 kB / 0.6605 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/1.403, allocations: 35.91 kB / 0.6605 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.403, allocations: 3.938 kB / 0.6605 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.403, allocations: 8 kB / 0.6606 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.403, allocations: 0 / 0.6606 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.403, allocations: 7.984 kB / 0.6606 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/1.403, allocations: 0.5332 MB / 0.6611 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/1.404, allocations: 39.62 kB / 0.6611 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/1.404, allocations: 7.938 kB / 0.6611 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.404, allocations: 11.98 kB / 0.6611 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/1.404, allocations: 19.97 kB / 0.6612 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/1.404, allocations: 11.98 kB / 0.6612 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.299e-05/1.404, allocations: 120.1 kB / 0.6613 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/1.404, allocations: 3.938 kB / 0.6613 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006626/1.405, allocations: 203.4 kB / 0.6615 GB, free: 14.28 MB / 0.4981 GB 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.001638/1.406, allocations: 1.252 MB / 0.6627 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009295/1.407, allocations: 0.5526 MB / 0.6632 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.407, allocations: 0 / 0.6632 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/1.408, allocations: 484 kB / 0.6637 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/1.409, allocations: 202.5 kB / 0.6639 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/1.414, allocations: 3.626 MB / 0.6674 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/1.415, allocations: 0.9435 MB / 0.6684 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005757/1.415, allocations: 261.8 kB / 0.6686 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/1.416, allocations: 283.3 kB / 0.6689 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/1.416, allocations: 0 / 0.6689 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05588/1.471, allocations: 19.87 MB / 0.6883 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.97, allocations: 4 kB / 0.6883 GB, free: 2.574 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: 17.23760052199941] Failed to read output from testmodel.py, exit status != 0: 14.303781665003044 14.323326182 12.943306535 Calling exit ...