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.001368/0.001368, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001484/0.001484, allocations: 214.8 kB / 22.25 MB, free: 5.078 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 MB, free: 7.992 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.01261/0.01261, allocations: 2.797 MB / 315.2 MB, free: 316 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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [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.00206/0.00206, allocations: 71.91 kB / 439.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 54.18 MB / 493.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01173/0.1186, allocations: 9.157 MB / 0.4908 GB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009036/0.1276, allocations: 8.606 MB / 0.4992 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1277, allocations: 7.875 kB / 0.4992 GB, free: 5.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.1282, allocations: 155.1 kB / 0.4993 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.1286, allocations: 107.3 kB / 0.4994 GB, free: 4.746 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.003249/0.1318, allocations: 1.459 MB / 0.5009 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.1322, allocations: 266.8 kB / 0.5011 GB, free: 3.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/0.1322, allocations: 17.73 kB / 0.5011 GB, free: 3 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.5781/0.7104, allocations: 13.09 MB / 0.5139 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.7106, allocations: 84.86 kB / 0.514 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.7106, allocations: 7.438 kB / 0.514 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.7123, allocations: 474.3 kB / 0.5144 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.7124, allocations: 34.88 kB / 0.5145 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.7125, allocations: 86.67 kB / 0.5146 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.7135, allocations: 0.506 MB / 0.5151 GB, free: 7.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7135, allocations: 0 / 0.5151 GB, free: 7.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7135, allocations: 4 kB / 0.5151 GB, free: 7.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.7135, allocations: 1.312 kB / 0.5151 GB, free: 7.094 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.0007317/0.7143, allocations: 0.4897 MB / 0.5155 GB, free: 6.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7143, allocations: 12.59 kB / 0.5156 GB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.7146, allocations: 55.16 kB / 0.5156 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.7148, allocations: 152.4 kB / 0.5157 GB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.7149, allocations: 10 kB / 0.5158 GB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.7149, allocations: 10.97 kB / 0.5158 GB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.7154, allocations: 243.3 kB / 0.516 GB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7154, allocations: 0 / 0.516 GB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.7154, allocations: 6.25 kB / 0.516 GB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.7154, allocations: 13.25 kB / 0.516 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.7159, allocations: 211.6 kB / 0.5162 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.7167, allocations: 0.6707 MB / 0.5169 GB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.7172, allocations: 209.6 kB / 0.5171 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.7174, allocations: 134.4 kB / 0.5172 GB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.7176, allocations: 95.98 kB / 0.5173 GB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.7176, allocations: 41.08 kB / 0.5173 GB, free: 6.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.343e-06/0.7176, allocations: 0 / 0.5173 GB, free: 6.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002623/0.7202, allocations: 1.168 MB / 0.5185 GB, free: 5.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.7203, allocations: 54.72 kB / 0.5185 GB, free: 5.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.7203, allocations: 137.7 kB / 0.5187 GB, free: 5.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.7204, allocations: 30.73 kB / 0.5187 GB, free: 5.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.7204, allocations: 103.4 kB / 0.5188 GB, free: 5.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.7205, allocations: 163.8 kB / 0.5189 GB, free: 5.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.7205, allocations: 57.81 kB / 0.519 GB, free: 5.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.7206, allocations: 333.6 kB / 0.5193 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.7208, allocations: 132.1 kB / 0.5194 GB, free: 5.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.7211, allocations: 190.4 kB / 0.5196 GB, free: 4.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.7216, allocations: 347.6 kB / 0.52 GB, free: 4.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7216, allocations: 5 kB / 0.52 GB, free: 4.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001093/0.7227, allocations: 482.5 kB / 0.5204 GB, free: 4.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7227, allocations: 5.438 kB / 0.5204 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7227, allocations: 2.062 kB / 0.5204 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007336/0.7234, allocations: 147 kB / 0.5206 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.7236, allocations: 37.53 kB / 0.5206 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004885/0.7241, allocations: 0.6493 MB / 0.5212 GB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.7242, allocations: 15.41 kB / 0.5213 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.7242, allocations: 16.38 kB / 0.5213 GB, free: 4.289 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 9.832e-05/0.7243, allocations: 134 kB / 0.5214 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.7244, allocations: 20.27 kB / 0.5214 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.7244, allocations: 24.62 kB / 0.5214 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.7244, allocations: 12.39 kB / 0.5215 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7245, allocations: 1.094 kB / 0.5215 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7245, allocations: 1.688 kB / 0.5215 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.7247, allocations: 271 kB / 0.5217 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7247, allocations: 0 / 0.5217 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.7249, allocations: 37.88 kB / 0.5217 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003521/0.7253, allocations: 66.69 kB / 0.5218 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.7253, allocations: 11.19 kB / 0.5218 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009255/0.7262, allocations: 1.451 MB / 0.5232 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7262, allocations: 0 / 0.5232 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.7273, allocations: 0.7091 MB / 0.5239 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.7273, allocations: 17.55 kB / 0.5239 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.7273, allocations: 5.297 kB / 0.524 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.7275, allocations: 11.34 kB / 0.524 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.7276, allocations: 17.14 kB / 0.524 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.7276, allocations: 19.16 kB / 0.524 GB, free: 2.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.527e-05/0.7276, allocations: 99.27 kB / 0.5241 GB, free: 2.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7276, allocations: 0 / 0.5241 GB, free: 2.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.728, allocations: 66.92 kB / 0.5242 GB, free: 2.371 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.0003218/0.7283, allocations: 177.8 kB / 0.5243 GB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.7291, allocations: 332.2 kB / 0.5246 GB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7291, allocations: 3.844 kB / 0.5246 GB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.7297, allocations: 303.1 kB / 0.5249 GB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.7303, allocations: 96.52 kB / 0.525 GB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.7313, allocations: 0.6721 MB / 0.5257 GB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.7315, allocations: 0.7381 MB / 0.5264 GB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.7317, allocations: 121.2 kB / 0.5265 GB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.7318, allocations: 18.39 kB / 0.5265 GB, free: 1.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.7318, allocations: 0 / 0.5265 GB, free: 1.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01091/0.7427, allocations: 5.564 MB / 0.532 GB, free: 15.87 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.769794370979071] Failed to read output from testmodel.py, exit status != 0: 0.7497790108900517 0.766567988 0.049731118000000005 Calling exit ...