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.001335/0.001335, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001486/0.001486, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.8 MB, free: 7.816 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.01357/0.01357, allocations: 2.804 MB / 316 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.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="cs",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.002016/0.002016, allocations: 67.91 kB / 439.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 54.18 MB / 493.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01195/0.1232, allocations: 8.342 MB / 0.4902 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.1311, allocations: 7.416 MB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1313, allocations: 0 / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1318, allocations: 127.2 kB / 0.4976 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1322, allocations: 111.2 kB / 0.4977 GB, free: 6.984 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.003967/0.1361, allocations: 1.432 MB / 0.4991 GB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.1366, allocations: 278.6 kB / 0.4993 GB, free: 5.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.684e-05/0.1366, allocations: 17.73 kB / 0.4993 GB, free: 5.254 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.5767/0.7133, allocations: 13.08 MB / 0.5121 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.7136, allocations: 82.25 kB / 0.5122 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.7136, allocations: 7.312 kB / 0.5122 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.7159, allocations: 481.5 kB / 0.5127 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.716, allocations: 31.75 kB / 0.5127 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.7162, allocations: 73.58 kB / 0.5128 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.7183, allocations: 0.5044 MB / 0.5133 GB, free: 9.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.7183, allocations: 5.156 kB / 0.5133 GB, free: 9.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.7183, allocations: 1.5 kB / 0.5133 GB, free: 9.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.7183, allocations: 0.6094 kB / 0.5133 GB, free: 9.293 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.001195/0.7195, allocations: 499.6 kB / 0.5137 GB, free: 8.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.7196, allocations: 9.188 kB / 0.5137 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.258e-05/0.7196, allocations: 5.203 kB / 0.5138 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.7196, allocations: 51.5 kB / 0.5138 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.72, allocations: 57.78 kB / 0.5139 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.7203, allocations: 152.4 kB / 0.514 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.7203, allocations: 8 kB / 0.514 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.7204, allocations: 14.41 kB / 0.514 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.721, allocations: 296.5 kB / 0.5143 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.721, allocations: 1.656 kB / 0.5143 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.721, allocations: 1.688 kB / 0.5143 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.7211, allocations: 13.14 kB / 0.5143 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.7216, allocations: 206 kB / 0.5145 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.7226, allocations: 0.6507 MB / 0.5152 GB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.7232, allocations: 205.6 kB / 0.5154 GB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.7234, allocations: 133.6 kB / 0.5155 GB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.7237, allocations: 97.67 kB / 0.5156 GB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.7237, allocations: 34.73 kB / 0.5156 GB, free: 8.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.7237, allocations: 5.375 kB / 0.5156 GB, free: 8.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00304/0.7267, allocations: 1.163 MB / 0.5167 GB, free: 7.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.7267, allocations: 54 kB / 0.5168 GB, free: 7.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.7269, allocations: 138.2 kB / 0.5169 GB, free: 7.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.7269, allocations: 33.12 kB / 0.517 GB, free: 7.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.7269, allocations: 107 kB / 0.5171 GB, free: 7.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.727, allocations: 168 kB / 0.5172 GB, free: 7.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.7271, allocations: 58.83 kB / 0.5173 GB, free: 7.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.7272, allocations: 328.4 kB / 0.5176 GB, free: 7.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.7275, allocations: 130.8 kB / 0.5177 GB, free: 7.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.7278, allocations: 200.9 kB / 0.5179 GB, free: 7.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.7283, allocations: 350.7 kB / 0.5182 GB, free: 7.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7283, allocations: 0 / 0.5182 GB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001209/0.7295, allocations: 481.6 kB / 0.5187 GB, free: 6.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.7295, allocations: 5.844 kB / 0.5187 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7295, allocations: 6.141 kB / 0.5187 GB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008444/0.7304, allocations: 144.2 kB / 0.5189 GB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.7305, allocations: 34.2 kB / 0.5189 GB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/0.731, allocations: 0.6545 MB / 0.5195 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.7312, allocations: 12.81 kB / 0.5195 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.7312, allocations: 17.19 kB / 0.5196 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.0001294/0.7314, allocations: 131.9 kB / 0.5197 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.7314, allocations: 19.64 kB / 0.5197 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.7315, allocations: 26.16 kB / 0.5197 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.7315, allocations: 10.09 kB / 0.5197 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.7315, allocations: 4.016 kB / 0.5197 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7315, allocations: 1.547 kB / 0.5197 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.7318, allocations: 247.2 kB / 0.52 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7318, allocations: 1.281 kB / 0.52 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.732, allocations: 45.11 kB / 0.52 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.7324, allocations: 64.02 kB / 0.5201 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.7324, allocations: 10.52 kB / 0.5201 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.7334, allocations: 1.45 MB / 0.5215 GB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7334, allocations: 0.9844 kB / 0.5215 GB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.7346, allocations: 0.7127 MB / 0.5222 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.7346, allocations: 17.25 kB / 0.5222 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.7346, allocations: 1.734 kB / 0.5222 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.7348, allocations: 11.62 kB / 0.5222 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.7349, allocations: 25.75 kB / 0.5223 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.7349, allocations: 6.219 kB / 0.5223 GB, free: 4.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.234e-05/0.7349, allocations: 98.59 kB / 0.5224 GB, free: 4.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7349, allocations: 0 / 0.5224 GB, free: 4.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.7353, allocations: 74 kB / 0.5224 GB, free: 4.496 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.001449/0.7368, allocations: 1.266 MB / 0.5237 GB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008376/0.7376, allocations: 338.4 kB / 0.524 GB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7376, allocations: 1.188 kB / 0.524 GB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.7382, allocations: 296.6 kB / 0.5243 GB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.7389, allocations: 91.42 kB / 0.5244 GB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.7431, allocations: 2.943 MB / 0.5272 GB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.7432, allocations: 134 kB / 0.5274 GB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.7435, allocations: 114.5 kB / 0.5275 GB, free: 2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.7436, allocations: 57.75 kB / 0.5275 GB, free: 1.992 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7436, allocations: 5.125 kB / 0.5275 GB, free: 1.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.7789, allocations: 8.481 MB / 0.5358 GB, free: 15.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.16, allocations: 6.375 kB / 0.5358 GB, free: 15.19 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.573937249020673] Failed to read output from testmodel.py, exit status != 0: 14.556450327043422 14.588940807 13.865937028 Calling exit ...