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.001353/0.001353, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001666/0.001666, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.004 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.01286/0.01286, allocations: 2.807 MB / 315.2 MB, free: 324 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.002177/0.002177, allocations: 67.89 kB / 438.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1032, allocations: 54.18 MB / 492.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01209/0.1153, allocations: 9.153 MB / 0.4903 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009184/0.1245, allocations: 8.602 MB / 0.4987 GB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.1247, allocations: 0 / 0.4987 GB, free: 5.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1253, allocations: 167 kB / 0.4988 GB, free: 5.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.1257, allocations: 111.3 kB / 0.499 GB, free: 5.25 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.004081/0.1298, allocations: 1.449 MB / 0.5004 GB, free: 3.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.1303, allocations: 274.7 kB / 0.5006 GB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.1303, allocations: 13.75 kB / 0.5006 GB, free: 3.512 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.6012/0.7316, allocations: 13.09 MB / 0.5134 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.7318, allocations: 86.91 kB / 0.5135 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.7318, allocations: 7.156 kB / 0.5135 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.7336, allocations: 473.8 kB / 0.514 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.7337, allocations: 36.02 kB / 0.514 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.7339, allocations: 92.56 kB / 0.5141 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.7353, allocations: 0.5063 MB / 0.5146 GB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7353, allocations: 1.891 kB / 0.5146 GB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7353, allocations: 0 / 0.5146 GB, free: 6.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.7353, allocations: 0 / 0.5146 GB, free: 6.828 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.0008575/0.7362, allocations: 497.8 kB / 0.5151 GB, free: 6.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7362, allocations: 9.844 kB / 0.5151 GB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.7363, allocations: 58.08 kB / 0.5151 GB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.7367, allocations: 58.41 kB / 0.5152 GB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.7369, allocations: 146.1 kB / 0.5153 GB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.7369, allocations: 7.688 kB / 0.5153 GB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.737, allocations: 14.75 kB / 0.5153 GB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.7375, allocations: 248 kB / 0.5156 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7375, allocations: 0 / 0.5156 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.7376, allocations: 5.578 kB / 0.5156 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.7376, allocations: 10.42 kB / 0.5156 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.7381, allocations: 202.6 kB / 0.5158 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.7389, allocations: 0.67 MB / 0.5164 GB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.7394, allocations: 204.5 kB / 0.5166 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.7396, allocations: 134.6 kB / 0.5168 GB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.7398, allocations: 104.8 kB / 0.5169 GB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.7398, allocations: 40.62 kB / 0.5169 GB, free: 5.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.7398, allocations: 0 / 0.5169 GB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003244/0.7431, allocations: 1.166 MB / 0.518 GB, free: 5.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.7431, allocations: 54.75 kB / 0.5181 GB, free: 5.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.7432, allocations: 131.7 kB / 0.5182 GB, free: 5.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.7432, allocations: 34.52 kB / 0.5183 GB, free: 5.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.7433, allocations: 107.6 kB / 0.5184 GB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.7434, allocations: 165.1 kB / 0.5185 GB, free: 5.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.7434, allocations: 61.62 kB / 0.5186 GB, free: 5.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.7435, allocations: 329.2 kB / 0.5189 GB, free: 4.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.7437, allocations: 127.7 kB / 0.519 GB, free: 4.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.744, allocations: 194.5 kB / 0.5192 GB, free: 4.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.7445, allocations: 346.9 kB / 0.5195 GB, free: 4.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7445, allocations: 0 / 0.5195 GB, free: 4.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001141/0.7457, allocations: 484.4 kB / 0.52 GB, free: 4.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.7457, allocations: 5.625 kB / 0.52 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.7457, allocations: 1.344 kB / 0.52 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.7464, allocations: 150.4 kB / 0.5201 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.7466, allocations: 30.06 kB / 0.5202 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000524/0.7471, allocations: 0.6545 MB / 0.5208 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.7473, allocations: 17.34 kB / 0.5208 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.7473, allocations: 8.125 kB / 0.5208 GB, free: 4 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.0001227/0.7474, allocations: 133.6 kB / 0.521 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.7475, allocations: 20.17 kB / 0.521 GB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.7476, allocations: 31.91 kB / 0.521 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.7476, allocations: 8.516 kB / 0.521 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7476, allocations: 1.156 kB / 0.521 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7476, allocations: 0.9375 kB / 0.521 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.7479, allocations: 269.9 kB / 0.5213 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7479, allocations: 4.078 kB / 0.5213 GB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.7481, allocations: 43.36 kB / 0.5213 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/0.7485, allocations: 67.5 kB / 0.5214 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.7485, allocations: 10.41 kB / 0.5214 GB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.7495, allocations: 1.452 MB / 0.5228 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7495, allocations: 0 / 0.5228 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.7506, allocations: 0.7109 MB / 0.5235 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.7506, allocations: 17.23 kB / 0.5235 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.7506, allocations: 10.91 kB / 0.5235 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.7508, allocations: 8.125 kB / 0.5235 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.7509, allocations: 20.59 kB / 0.5236 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.7509, allocations: 9.859 kB / 0.5236 GB, free: 2.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.567e-05/0.751, allocations: 100 kB / 0.5237 GB, free: 2.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.751, allocations: 0 / 0.5237 GB, free: 2.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.7513, allocations: 69.78 kB / 0.5237 GB, free: 2.078 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.001586/0.7529, allocations: 1.262 MB / 0.525 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009184/0.7538, allocations: 335.7 kB / 0.5253 GB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7538, allocations: 384 / 0.5253 GB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.7545, allocations: 296.5 kB / 0.5256 GB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.7552, allocations: 99.81 kB / 0.5257 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.7597, allocations: 2.944 MB / 0.5285 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.7601, allocations: 0.7376 MB / 0.5293 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.7605, allocations: 119.8 kB / 0.5294 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.7606, allocations: 57.7 kB / 0.5294 GB, free: 14.94 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7606, allocations: 0 / 0.5294 GB, free: 14.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.8015, allocations: 8.299 MB / 0.5375 GB, free: 12.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.2, allocations: 3.906 kB / 0.5375 GB, free: 12.11 MB / 382.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --stepSize=0.1 --timeout=50 --tolerance=1e-07 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.60410520900041] Failed to read output from testmodel.py, exit status != 0: 14.548499628901482 14.575111254 13.836216321 Calling exit ...