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.001507/0.001507, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.003078/0.003078, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.01301/0.01301, allocations: 2.809 MB / 316 MB, free: 88 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.002036/0.002036, allocations: 67.91 kB / 439.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1195, allocations: 54.18 MB / 494.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01266/0.1321, allocations: 8.336 MB / 0.4906 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.1412, allocations: 7.42 MB / 0.4979 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1414, allocations: 3.938 kB / 0.4979 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.1421, allocations: 135.1 kB / 0.498 GB, free: 6.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.1426, allocations: 103.3 kB / 0.4981 GB, free: 6.434 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.00473/0.1473, allocations: 1.442 MB / 0.4995 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.1478, allocations: 274.7 kB / 0.4998 GB, free: 4.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.1479, allocations: 9.75 kB / 0.4998 GB, free: 4.707 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.6743/0.8222, allocations: 13.08 MB / 0.5126 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.8225, allocations: 79.11 kB / 0.5127 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.8225, allocations: 7 kB / 0.5127 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.8246, allocations: 476.3 kB / 0.5131 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.8247, allocations: 33.86 kB / 0.5132 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.8249, allocations: 69.73 kB / 0.5132 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.8266, allocations: 0.5103 MB / 0.5137 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.8266, allocations: 4.078 kB / 0.5137 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8266, allocations: 0 / 0.5137 GB, free: 9.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.8266, allocations: 0 / 0.5137 GB, free: 9.09 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.001022/0.8276, allocations: 494.4 kB / 0.5142 GB, free: 8.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.8277, allocations: 8.844 kB / 0.5142 GB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.828, allocations: 54.55 kB / 0.5143 GB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.8283, allocations: 154.6 kB / 0.5144 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.8283, allocations: 12 kB / 0.5144 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.8284, allocations: 10.97 kB / 0.5144 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.829, allocations: 299 kB / 0.5147 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.829, allocations: 3.375 kB / 0.5147 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.829, allocations: 4.75 kB / 0.5147 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.829, allocations: 10.52 kB / 0.5147 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.8296, allocations: 203.1 kB / 0.5149 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.8307, allocations: 0.6167 MB / 0.5155 GB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.8314, allocations: 207 kB / 0.5157 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.8317, allocations: 135.8 kB / 0.5158 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.8319, allocations: 97.8 kB / 0.5159 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.832, allocations: 33.92 kB / 0.516 GB, free: 7.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.832, allocations: 0 / 0.516 GB, free: 7.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003401/0.8354, allocations: 1.169 MB / 0.5171 GB, free: 7.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.8354, allocations: 52.78 kB / 0.5172 GB, free: 7.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.8355, allocations: 134.7 kB / 0.5173 GB, free: 7.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.8356, allocations: 32.05 kB / 0.5173 GB, free: 7.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.8356, allocations: 109.3 kB / 0.5174 GB, free: 7.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.8357, allocations: 160.2 kB / 0.5176 GB, free: 7.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.8358, allocations: 58.61 kB / 0.5176 GB, free: 7.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.836, allocations: 329.7 kB / 0.518 GB, free: 7.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.8362, allocations: 139.2 kB / 0.5181 GB, free: 7.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.8365, allocations: 185.9 kB / 0.5183 GB, free: 6.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.8372, allocations: 344.2 kB / 0.5186 GB, free: 6.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8372, allocations: 4.5 kB / 0.5186 GB, free: 6.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001215/0.8384, allocations: 494.4 kB / 0.5191 GB, free: 6.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.8385, allocations: 6.812 kB / 0.5191 GB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.8385, allocations: 1.5 kB / 0.5191 GB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/0.8392, allocations: 143.4 kB / 0.5192 GB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.8394, allocations: 34.23 kB / 0.5192 GB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005677/0.8399, allocations: 0.6493 MB / 0.5199 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.8401, allocations: 12.45 kB / 0.5199 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.8401, allocations: 8.703 kB / 0.5199 GB, free: 6.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 0.0001211/0.8402, allocations: 139.4 kB / 0.52 GB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.8403, allocations: 19.77 kB / 0.52 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.8403, allocations: 20.66 kB / 0.5201 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.8403, allocations: 11.05 kB / 0.5201 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.8404, allocations: 8.125 kB / 0.5201 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8404, allocations: 4 kB / 0.5201 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.8407, allocations: 213.4 kB / 0.5203 GB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8407, allocations: 0 / 0.5203 GB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.8408, allocations: 42.72 kB / 0.5203 GB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.8411, allocations: 66.7 kB / 0.5204 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.8412, allocations: 3.344 kB / 0.5204 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.8424, allocations: 1.44 MB / 0.5218 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8424, allocations: 1.031 kB / 0.5218 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.8436, allocations: 0.7097 MB / 0.5225 GB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.8436, allocations: 17.7 kB / 0.5225 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.8437, allocations: 6.766 kB / 0.5225 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.8438, allocations: 10.64 kB / 0.5225 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.8439, allocations: 21.81 kB / 0.5226 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.8439, allocations: 7.281 kB / 0.5226 GB, free: 4.516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.253e-05/0.844, allocations: 102.5 kB / 0.5227 GB, free: 4.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.844, allocations: 0 / 0.5227 GB, free: 4.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.8444, allocations: 65.73 kB / 0.5227 GB, free: 4.434 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.0004351/0.8448, allocations: 187.2 kB / 0.5229 GB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008942/0.8457, allocations: 337.2 kB / 0.5232 GB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8457, allocations: 1.094 kB / 0.5232 GB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.8463, allocations: 292 kB / 0.5235 GB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.847, allocations: 102.5 kB / 0.5236 GB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.8482, allocations: 0.6947 MB / 0.5243 GB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.8484, allocations: 130.6 kB / 0.5244 GB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.8484, allocations: 23.28 kB / 0.5244 GB, free: 3.707 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.8484, allocations: 1.031 kB / 0.5244 GB, free: 3.707 MB / 366.1 MB Notification: Performance of Templates: time 0.007308/0.8557, allocations: 3.667 MB / 0.528 GB, free: 3.391 MB / 366.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: 8.721759445033967] Failed to read output from testmodel.py, exit status != 0: 0.8633354799821973 0.878206979 0.048290546000000004 Calling exit ...