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.001299/0.001299, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00148/0.00148, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.01221/0.01221, allocations: 2.799 MB / 316 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: 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.002016/0.002016, allocations: 71.89 kB / 440 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1037, allocations: 54.17 MB / 494.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01113/0.1149, allocations: 9.161 MB / 0.4915 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008234/0.1231, allocations: 8.606 MB / 0.4999 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.1232, allocations: 3.938 kB / 0.4999 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.1237, allocations: 155.1 kB / 0.5001 GB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1241, allocations: 107.3 kB / 0.5002 GB, free: 4.758 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.003404/0.1275, allocations: 1.463 MB / 0.5016 GB, free: 3.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.1279, allocations: 270.8 kB / 0.5019 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.1279, allocations: 9.75 kB / 0.5019 GB, free: 3.016 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.5541/0.682, allocations: 13.08 MB / 0.5146 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.6823, allocations: 89.19 kB / 0.5147 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.6823, allocations: 7.688 kB / 0.5147 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.6842, allocations: 475.7 kB / 0.5152 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.6843, allocations: 41.27 kB / 0.5152 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.6844, allocations: 84.84 kB / 0.5153 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.6856, allocations: 0.5104 MB / 0.5158 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6856, allocations: 0 / 0.5158 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6856, allocations: 0 / 0.5158 GB, free: 7.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.6856, allocations: 0 / 0.5158 GB, free: 7.078 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.0007527/0.6863, allocations: 496.1 kB / 0.5163 GB, free: 6.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6864, allocations: 13.62 kB / 0.5163 GB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.6867, allocations: 55 kB / 0.5163 GB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.6869, allocations: 152 kB / 0.5165 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.6869, allocations: 10.19 kB / 0.5165 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.687, allocations: 11.5 kB / 0.5165 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.6875, allocations: 250.4 kB / 0.5168 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6875, allocations: 5.375 kB / 0.5168 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.6875, allocations: 1.375 kB / 0.5168 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6875, allocations: 9.672 kB / 0.5168 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.688, allocations: 202.8 kB / 0.517 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007586/0.6888, allocations: 0.6718 MB / 0.5176 GB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.6894, allocations: 209.6 kB / 0.5178 GB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.6897, allocations: 135.8 kB / 0.5179 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.6899, allocations: 100 kB / 0.518 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.6899, allocations: 36.88 kB / 0.5181 GB, free: 5.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.6899, allocations: 0.5 kB / 0.5181 GB, free: 5.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002878/0.6928, allocations: 1.168 MB / 0.5192 GB, free: 5.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.6928, allocations: 52.69 kB / 0.5193 GB, free: 5.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.6929, allocations: 132.6 kB / 0.5194 GB, free: 5.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.6929, allocations: 34.92 kB / 0.5194 GB, free: 5.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.693, allocations: 112.8 kB / 0.5195 GB, free: 5.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.693, allocations: 164.2 kB / 0.5197 GB, free: 5.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.6931, allocations: 58.8 kB / 0.5197 GB, free: 5.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.6932, allocations: 328.7 kB / 0.5201 GB, free: 5.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.6934, allocations: 135.4 kB / 0.5202 GB, free: 5.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.6937, allocations: 199.4 kB / 0.5204 GB, free: 4.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.6942, allocations: 342.9 kB / 0.5207 GB, free: 4.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6942, allocations: 1.156 kB / 0.5207 GB, free: 4.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001091/0.6953, allocations: 480.3 kB / 0.5212 GB, free: 4.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6953, allocations: 7.109 kB / 0.5212 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6954, allocations: 1.219 kB / 0.5212 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/0.6961, allocations: 147.9 kB / 0.5213 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6963, allocations: 33.73 kB / 0.5213 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005062/0.6968, allocations: 0.6566 MB / 0.522 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.6969, allocations: 11.27 kB / 0.522 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.6969, allocations: 8.594 kB / 0.522 GB, free: 4.277 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.0001035/0.697, allocations: 137.5 kB / 0.5221 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.6971, allocations: 20.45 kB / 0.5222 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.6971, allocations: 27.36 kB / 0.5222 GB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6972, allocations: 14.61 kB / 0.5222 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6972, allocations: 0 / 0.5222 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6972, allocations: 2.203 kB / 0.5222 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.6975, allocations: 268 kB / 0.5225 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6975, allocations: 1.797 kB / 0.5225 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.6977, allocations: 39.05 kB / 0.5225 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.698, allocations: 71.95 kB / 0.5226 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.698, allocations: 4.844 kB / 0.5226 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.699, allocations: 1.452 MB / 0.524 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.699, allocations: 0 / 0.524 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.7001, allocations: 0.7046 MB / 0.5247 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.7002, allocations: 16.73 kB / 0.5247 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.7002, allocations: 14.52 kB / 0.5247 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.7004, allocations: 15.25 kB / 0.5247 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.7004, allocations: 25.11 kB / 0.5247 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.7004, allocations: 6.453 kB / 0.5248 GB, free: 2.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.7005, allocations: 99.05 kB / 0.5248 GB, free: 2.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7005, allocations: 0 / 0.5248 GB, free: 2.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.7009, allocations: 66.8 kB / 0.5249 GB, free: 2.352 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.0003719/0.7012, allocations: 174.4 kB / 0.5251 GB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.702, allocations: 338 kB / 0.5254 GB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.702, allocations: 5.031 kB / 0.5254 GB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.7026, allocations: 296.2 kB / 0.5257 GB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.7033, allocations: 96.44 kB / 0.5258 GB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.7043, allocations: 0.709 MB / 0.5265 GB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.7045, allocations: 0.7374 MB / 0.5272 GB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.7045, allocations: 20.45 kB / 0.5272 GB, free: 1.004 MB / 366.1 MB Notification: Performance of SimCode: time 5.1e-07/0.7045, allocations: 0 / 0.5272 GB, free: 1.004 MB / 366.1 MB Notification: Performance of Templates: time 0.006181/0.7107, allocations: 3.585 MB / 0.5307 GB, free: 0.6914 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.50938828010112] Failed to read output from testmodel.py, exit status != 0: 0.7172704308759421 0.732905129 0.044034082 Calling exit ...