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.001297/0.001297, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001435/0.001435, allocations: 162.7 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.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.883 MB / 190.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.01278/0.01278, allocations: 2 MB / 261.8 MB, free: 14.66 MB / 254.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.002583/0.002583, allocations: 71.88 kB / 385.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1367, allocations: 54.14 MB / 439.8 MB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01307/0.1498, allocations: 8.346 MB / 448.2 MB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009034/0.1588, allocations: 7.427 MB / 455.6 MB, free: 12.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.159, allocations: 0 / 455.6 MB, free: 12.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.1598, allocations: 127.2 kB / 455.7 MB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.1603, allocations: 107.3 kB / 455.8 MB, free: 12.08 MB / 430.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.006359/0.1666, allocations: 1.444 MB / 457.3 MB, free: 10.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.1672, allocations: 278.7 kB / 457.5 MB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.1673, allocations: 5.812 kB / 457.5 MB, free: 10.36 MB / 430.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.3895/0.5568, allocations: 13.08 MB / 470.6 MB, free: 14.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.5571, allocations: 87.55 kB / 470.7 MB, free: 14.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.5571, allocations: 8 kB / 470.7 MB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.5586, allocations: 471.9 kB / 471.2 MB, free: 14.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.5587, allocations: 31.86 kB / 471.2 MB, free: 14.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.5588, allocations: 75.66 kB / 471.3 MB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.5601, allocations: 0.5102 MB / 471.8 MB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5601, allocations: 0 / 471.8 MB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5601, allocations: 0 / 471.8 MB, free: 13.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.5602, allocations: 0 / 471.8 MB, free: 13.79 MB / 446.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.001036/0.5612, allocations: 0.4889 MB / 472.3 MB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5612, allocations: 8.031 kB / 472.3 MB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.5616, allocations: 60.75 kB / 472.4 MB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.5619, allocations: 150.2 kB / 472.5 MB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.5619, allocations: 8.375 kB / 472.5 MB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.562, allocations: 23.88 kB / 472.5 MB, free: 13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.5626, allocations: 295 kB / 472.8 MB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5626, allocations: 0 / 472.8 MB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.5626, allocations: 8 kB / 472.8 MB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5626, allocations: 4 kB / 472.8 MB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.5632, allocations: 208.3 kB / 473 MB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/0.5641, allocations: 0.6043 MB / 473.6 MB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.5647, allocations: 206.5 kB / 473.8 MB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.565, allocations: 132.8 kB / 474 MB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.5652, allocations: 99.92 kB / 474.1 MB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5652, allocations: 34.56 kB / 474.1 MB, free: 11.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.5652, allocations: 4 kB / 474.1 MB, free: 11.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.003059/0.5682, allocations: 1.175 MB / 475.3 MB, free: 10.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.5683, allocations: 51.41 kB / 475.3 MB, free: 10.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5684, allocations: 129.8 kB / 475.5 MB, free: 9.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5685, allocations: 25.7 kB / 475.5 MB, free: 9.898 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.5686, allocations: 112.9 kB / 475.6 MB, free: 9.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.5687, allocations: 166.5 kB / 475.8 MB, free: 9.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5688, allocations: 57.69 kB / 475.8 MB, free: 9.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.569, allocations: 338.8 kB / 476.1 MB, free: 9.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.5692, allocations: 132.4 kB / 476.3 MB, free: 9.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.5695, allocations: 184.9 kB / 476.5 MB, free: 8.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.5701, allocations: 353.7 kB / 476.8 MB, free: 8.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5701, allocations: 0 / 476.8 MB, free: 8.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001192/0.5713, allocations: 486.9 kB / 477.3 MB, free: 8.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5714, allocations: 8 kB / 477.3 MB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5714, allocations: 0 / 477.3 MB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/0.5721, allocations: 152.8 kB / 477.4 MB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.5723, allocations: 27.98 kB / 477.5 MB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007232/0.573, allocations: 0.6537 MB / 478.1 MB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.5731, allocations: 12 kB / 478.1 MB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5732, allocations: 15.98 kB / 478.1 MB, free: 7.141 MB / 446.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.0001533/0.5733, allocations: 133.8 kB / 478.3 MB, free: 7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.5734, allocations: 15.91 kB / 478.3 MB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.5734, allocations: 22.28 kB / 478.3 MB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.5734, allocations: 11.92 kB / 478.3 MB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5734, allocations: 0 / 478.3 MB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5734, allocations: 4 kB / 478.3 MB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.5738, allocations: 214.2 kB / 478.5 MB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5738, allocations: 4 kB / 478.5 MB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.574, allocations: 39.92 kB / 478.6 MB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.5743, allocations: 68.72 kB / 478.6 MB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.5743, allocations: 8 kB / 478.6 MB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.5758, allocations: 1.426 MB / 480.1 MB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5758, allocations: 0 / 480.1 MB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5771, allocations: 0.7069 MB / 480.8 MB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.5771, allocations: 15.94 kB / 480.8 MB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5771, allocations: 7.984 kB / 480.8 MB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5773, allocations: 11.94 kB / 480.8 MB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.5774, allocations: 19.95 kB / 480.8 MB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.5774, allocations: 12 kB / 480.8 MB, free: 4.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.5775, allocations: 91.27 kB / 480.9 MB, free: 4.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5775, allocations: 4.062 kB / 480.9 MB, free: 4.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.5778, allocations: 71.88 kB / 481 MB, free: 4.082 MB / 446.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.0004341/0.5783, allocations: 184 kB / 481.2 MB, free: 3.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008328/0.5791, allocations: 343.8 kB / 481.5 MB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5791, allocations: 0 / 481.5 MB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.5798, allocations: 299 kB / 481.8 MB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.5804, allocations: 96.03 kB / 481.9 MB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5816, allocations: 0.6722 MB / 482.6 MB, free: 2.465 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.5817, allocations: 125.6 kB / 482.7 MB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.582, allocations: 113.3 kB / 482.8 MB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.582, allocations: 24.5 kB / 482.8 MB, free: 2.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.582, allocations: 3.938 kB / 482.8 MB, free: 2.176 MB / 446.1 MB Notification: Performance of Templates: time 0.1778/0.7598, allocations: 5.346 MB / 488.2 MB, free: 89.13 MB / 446.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 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7225267849862576] Failed to read output from testmodel.py, exit status != 0: 0.7696147569222376 0.780914051 0.215804816 Calling exit ...