Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.001883/0.001883, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.002108/0.002108, allocations: 212 kB / 19.43 MB, free: 3.637 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.01298/0.01298, allocations: 2.793 MB / 311.6 MB, free: 1.473 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.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",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.001944/0.001944, allocations: 67.89 kB / 433.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 54.14 MB / 487.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01124/0.1154, allocations: 9.097 MB / 496.8 MB, free: 0 / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.124, allocations: 8.598 MB / 0.4935 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1242, allocations: 3.938 kB / 0.4935 GB, free: 7.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.1247, allocations: 155.1 kB / 0.4937 GB, free: 7.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1251, allocations: 103.3 kB / 0.4938 GB, free: 7.113 MB / 366.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.129, allocations: 1.459 MB / 0.4952 GB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.1295, allocations: 266.7 kB / 0.4955 GB, free: 5.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.777e-05/0.1296, allocations: 13.69 kB / 0.4955 GB, free: 5.367 MB / 366.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.5811/0.7107, allocations: 13.04 MB / 0.5082 GB, free: 9.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.7109, allocations: 91.69 kB / 0.5083 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.7109, allocations: 8.75 kB / 0.5083 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.7127, allocations: 477 kB / 0.5088 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.7128, allocations: 34.08 kB / 0.5088 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.7129, allocations: 87.67 kB / 0.5089 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.7141, allocations: 0.5068 MB / 0.5094 GB, free: 9.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7142, allocations: 0.6094 kB / 0.5094 GB, free: 9.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7142, allocations: 0 / 0.5094 GB, free: 9.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.7142, allocations: 1.344 kB / 0.5094 GB, free: 9.641 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008491/0.715, allocations: 0.5641 MB / 0.5099 GB, free: 9.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7151, allocations: 17.88 kB / 0.5099 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.7151, allocations: 50.92 kB / 0.51 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.7154, allocations: 52.78 kB / 0.51 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.7157, allocations: 210.7 kB / 0.5102 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.7157, allocations: 8.781 kB / 0.5102 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.7157, allocations: 14.47 kB / 0.5103 GB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.7164, allocations: 239.5 kB / 0.5105 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.7164, allocations: 0 / 0.5105 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.7164, allocations: 5.562 kB / 0.5105 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.7164, allocations: 11.92 kB / 0.5105 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.7169, allocations: 200.3 kB / 0.5107 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008607/0.7178, allocations: 0.6904 MB / 0.5114 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.7184, allocations: 203.5 kB / 0.5116 GB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.7186, allocations: 134.8 kB / 0.5117 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.7189, allocations: 330.3 kB / 0.512 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.7189, allocations: 40.75 kB / 0.5121 GB, free: 8.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.7189, allocations: 3.938 kB / 0.5121 GB, free: 8.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003032/0.722, allocations: 1.223 MB / 0.5132 GB, free: 7.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.722, allocations: 57.34 kB / 0.5133 GB, free: 7.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.7221, allocations: 133.2 kB / 0.5134 GB, free: 7.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7221, allocations: 29.02 kB / 0.5135 GB, free: 7.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.7221, allocations: 112.2 kB / 0.5136 GB, free: 7.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.7222, allocations: 164.1 kB / 0.5137 GB, free: 7.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.7223, allocations: 58.27 kB / 0.5138 GB, free: 7.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.7224, allocations: 330.7 kB / 0.5141 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.7226, allocations: 130.2 kB / 0.5142 GB, free: 6.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.7229, allocations: 189.6 kB / 0.5144 GB, free: 6.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.7235, allocations: 342.2 kB / 0.5147 GB, free: 6.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7235, allocations: 0.5 kB / 0.5147 GB, free: 6.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001371/0.7249, allocations: 472.8 kB / 0.5152 GB, free: 6.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.7249, allocations: 10.88 kB / 0.5152 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7249, allocations: 5.438 kB / 0.5152 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000763/0.7257, allocations: 145.6 kB / 0.5153 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.7258, allocations: 36.08 kB / 0.5154 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/0.7264, allocations: 0.6507 MB / 0.516 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.7265, allocations: 15.16 kB / 0.516 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.7266, allocations: 9.266 kB / 0.516 GB, free: 6.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.7267, allocations: 142.8 kB / 0.5162 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.7267, allocations: 19.33 kB / 0.5162 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.7268, allocations: 26.7 kB / 0.5162 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.7268, allocations: 10.73 kB / 0.5162 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.7268, allocations: 0 / 0.5162 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7268, allocations: 1.25 kB / 0.5162 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.7272, allocations: 288.2 kB / 0.5165 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7272, allocations: 1.547 kB / 0.5165 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.7274, allocations: 45.69 kB / 0.5165 GB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/0.7277, allocations: 69.02 kB / 0.5166 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.7277, allocations: 9.438 kB / 0.5166 GB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.7288, allocations: 1.554 MB / 0.5181 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7288, allocations: 0.8906 kB / 0.5181 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.73, allocations: 0.6951 MB / 0.5188 GB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.7301, allocations: 94 kB / 0.5189 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.7301, allocations: 7.078 kB / 0.5189 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.7303, allocations: 10.45 kB / 0.5189 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.7303, allocations: 22.95 kB / 0.5189 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.7303, allocations: 14.66 kB / 0.5189 GB, free: 4.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.7304, allocations: 99.72 kB / 0.519 GB, free: 4.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7304, allocations: 4.062 kB / 0.519 GB, free: 4.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.7308, allocations: 60.94 kB / 0.5191 GB, free: 4.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.7323, allocations: 1.242 MB / 0.5203 GB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.7332, allocations: 339.2 kB / 0.5206 GB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7332, allocations: 0 / 0.5206 GB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.7338, allocations: 296.2 kB / 0.5209 GB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.7345, allocations: 102.3 kB / 0.521 GB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.7389, allocations: 2.921 MB / 0.5239 GB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.739, allocations: 0.7384 MB / 0.5246 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.7393, allocations: 116.2 kB / 0.5247 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.7394, allocations: 56.7 kB / 0.5248 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7394, allocations: 1.094 kB / 0.5248 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.7771, allocations: 7.956 MB / 0.5325 GB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.59, allocations: 8.406 kB / 0.5325 GB, free: 14.25 MB / 382.1 MB " [Timeout remaining time 646] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.1 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.86783385183662] Failed to read output from testmodel.py, exit status != 0: 13.909182919189334 13.934101037 13.215617098 Calling exit ...