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.001291/0.001291, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002056/0.002056, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.801 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.0125/0.0125, allocations: 2.801 MB / 315.2 MB, free: 104 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.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.002018/0.002018, allocations: 63.91 kB / 438.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.1004, allocations: 54.17 MB / 492.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01091/0.1113, allocations: 8.354 MB / 0.4894 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007722/0.1191, allocations: 7.412 MB / 0.4967 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1192, allocations: 3.938 kB / 0.4967 GB, free: 7.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.1197, allocations: 123.2 kB / 0.4968 GB, free: 7.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.12, allocations: 103.3 kB / 0.4969 GB, free: 6.969 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.003451/0.1235, allocations: 1.448 MB / 0.4983 GB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.1238, allocations: 266.7 kB / 0.4986 GB, free: 5.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.1239, allocations: 17.73 kB / 0.4986 GB, free: 5.234 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.5657/0.6896, allocations: 13.08 MB / 0.5114 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.6899, allocations: 79.91 kB / 0.5114 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.6899, allocations: 13.47 kB / 0.5114 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.6923, allocations: 471.1 kB / 0.5119 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.6925, allocations: 36.42 kB / 0.5119 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.6927, allocations: 75.52 kB / 0.512 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.6944, allocations: 0.5069 MB / 0.5125 GB, free: 9.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6944, allocations: 0 / 0.5125 GB, free: 9.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6944, allocations: 1.031 kB / 0.5125 GB, free: 9.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.6944, allocations: 0 / 0.5125 GB, free: 9.289 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.0009747/0.6954, allocations: 499.5 kB / 0.513 GB, free: 8.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.6955, allocations: 9.125 kB / 0.513 GB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.6955, allocations: 53.11 kB / 0.513 GB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.6959, allocations: 54.05 kB / 0.5131 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.6961, allocations: 149.7 kB / 0.5132 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.6962, allocations: 9.094 kB / 0.5132 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.6962, allocations: 14.78 kB / 0.5133 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.6969, allocations: 293.2 kB / 0.5135 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6969, allocations: 4 kB / 0.5135 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.6969, allocations: 4.438 kB / 0.5135 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.6969, allocations: 10.59 kB / 0.5135 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.6975, allocations: 205.2 kB / 0.5137 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.6985, allocations: 0.6495 MB / 0.5144 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.6991, allocations: 206.5 kB / 0.5146 GB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.6994, allocations: 136.6 kB / 0.5147 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.6996, allocations: 100.2 kB / 0.5148 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.6997, allocations: 31.94 kB / 0.5148 GB, free: 8.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.353e-06/0.6997, allocations: 0 / 0.5148 GB, free: 8.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002833/0.7025, allocations: 1.168 MB / 0.516 GB, free: 7.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.7025, allocations: 54.28 kB / 0.516 GB, free: 7.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.7026, allocations: 143.8 kB / 0.5162 GB, free: 7.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.7026, allocations: 30.17 kB / 0.5162 GB, free: 7.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.7027, allocations: 108 kB / 0.5163 GB, free: 7.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.7028, allocations: 166.8 kB / 0.5165 GB, free: 7.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.7029, allocations: 59.64 kB / 0.5165 GB, free: 7.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.703, allocations: 330 kB / 0.5168 GB, free: 7.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.7032, allocations: 129.9 kB / 0.5169 GB, free: 7.141 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.7035, allocations: 190.2 kB / 0.5171 GB, free: 7.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.7041, allocations: 354 kB / 0.5175 GB, free: 7.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7041, allocations: 0 / 0.5175 GB, free: 7.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00123/0.7053, allocations: 480.1 kB / 0.5179 GB, free: 6.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7053, allocations: 6.766 kB / 0.5179 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.7053, allocations: 1.688 kB / 0.5179 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.706, allocations: 147 kB / 0.5181 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.7062, allocations: 38.09 kB / 0.5181 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004844/0.7067, allocations: 0.6579 MB / 0.5188 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.7068, allocations: 8.031 kB / 0.5188 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.7068, allocations: 14.02 kB / 0.5188 GB, free: 6.402 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.0001061/0.7069, allocations: 128.7 kB / 0.5189 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.707, allocations: 19.55 kB / 0.5189 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.7071, allocations: 28.05 kB / 0.5189 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.7071, allocations: 15.61 kB / 0.519 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.7071, allocations: 0 / 0.519 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7071, allocations: 5.453 kB / 0.519 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.7074, allocations: 248.7 kB / 0.5192 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7074, allocations: 1.656 kB / 0.5192 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.7075, allocations: 37 kB / 0.5192 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000315/0.7079, allocations: 64.55 kB / 0.5193 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.7079, allocations: 18.45 kB / 0.5193 GB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009408/0.7088, allocations: 1.449 MB / 0.5207 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7088, allocations: 3.75 kB / 0.5207 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.7099, allocations: 0.7091 MB / 0.5214 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.7099, allocations: 17.81 kB / 0.5214 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.7099, allocations: 4.531 kB / 0.5214 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.7101, allocations: 9.766 kB / 0.5215 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.7102, allocations: 25.06 kB / 0.5215 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.7102, allocations: 10.2 kB / 0.5215 GB, free: 4.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.255e-05/0.7102, allocations: 98.05 kB / 0.5216 GB, free: 4.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7102, allocations: 2.625 kB / 0.5216 GB, free: 4.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.7106, allocations: 69.39 kB / 0.5217 GB, free: 4.484 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.001375/0.712, allocations: 1.269 MB / 0.5229 GB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007855/0.7128, allocations: 335.5 kB / 0.5232 GB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.7128, allocations: 0 / 0.5232 GB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.7133, allocations: 293.1 kB / 0.5235 GB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.714, allocations: 94.95 kB / 0.5236 GB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.7181, allocations: 2.956 MB / 0.5265 GB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.7182, allocations: 125.8 kB / 0.5266 GB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.7185, allocations: 125.4 kB / 0.5267 GB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.7186, allocations: 56.08 kB / 0.5268 GB, free: 1.973 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.7186, allocations: 0 / 0.5268 GB, free: 1.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.7607, allocations: 8.652 MB / 0.5352 GB, free: 14.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.08, allocations: 3.5 kB / 0.5352 GB, free: 14.87 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: 17.33870095713064] Failed to read output from testmodel.py, exit status != 0: 14.412411785218865 14.432541687 13.734436112000001 Calling exit ...