Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.001796/0.001796, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002123/0.002123, allocations: 210.6 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.77 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.01349/0.01349, allocations: 2.807 MB / 315.2 MB, free: 72 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [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.00239/0.00239, allocations: 67.91 kB / 439.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1086, allocations: 54.18 MB / 493.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.313/0.4215, allocations: 45.37 MB / 0.5261 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03016/0.4517, allocations: 25.15 MB / 0.5506 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.4527, allocations: 2.625 kB / 0.5506 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.455, allocations: 0.4985 MB / 0.5511 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.4632, allocations: 2.19 MB / 0.5533 GB, free: 10.7 MB / 398.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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.4737, allocations: 2.892 MB / 0.5561 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4765, allocations: 0.9334 MB / 0.557 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.4769, allocations: 24.44 kB / 0.557 GB, free: 7.797 MB / 398.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.7489/1.226, allocations: 51.99 MB / 0.6078 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/1.227, allocations: 282.6 kB / 0.6081 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/1.227, allocations: 40 kB / 0.6081 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2344/1.461, allocations: 27.41 MB / 0.6349 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/1.462, allocations: 103.5 kB / 0.635 GB, free: 9.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006739/1.462, allocations: 274.8 kB / 0.6352 GB, free: 9.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008281/1.471, allocations: 1.862 MB / 0.637 GB, free: 7.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/1.471, allocations: 4 kB / 0.637 GB, free: 7.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/1.471, allocations: 0 / 0.637 GB, free: 7.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.76e-05/1.471, allocations: 0 / 0.637 GB, free: 7.156 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002261/1.473, allocations: 1.045 MB / 0.6381 GB, free: 6.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.473, allocations: 12.03 kB / 0.6381 GB, free: 6.066 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/1.475, allocations: 0.5 MB / 0.6386 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/1.48, allocations: 269.8 kB / 0.6388 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.48, allocations: 46.06 kB / 0.6389 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/1.48, allocations: 52 kB / 0.6389 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/1.482, allocations: 0.9964 MB / 0.6399 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.482, allocations: 0 / 0.6399 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/1.482, allocations: 20 kB / 0.6399 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/1.482, allocations: 39.97 kB / 0.6399 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.484, allocations: 0.7045 MB / 0.6406 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/1.489, allocations: 2.647 MB / 0.6432 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/1.49, allocations: 277.1 kB / 0.6435 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/1.491, allocations: 161.5 kB / 0.6436 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.492, allocations: 0.8807 MB / 0.6445 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/1.492, allocations: 46.5 kB / 0.6445 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/1.492, allocations: 0 / 0.6445 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.002161/1.494, allocations: 0.6242 MB / 0.6452 GB, free: 14.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/1.494, allocations: 85.11 kB / 0.6452 GB, free: 14.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/1.495, allocations: 174 kB / 0.6454 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/1.495, allocations: 29.7 kB / 0.6454 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/1.495, allocations: 288.5 kB / 0.6457 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/1.496, allocations: 257.7 kB / 0.6459 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.496, allocations: 102 kB / 0.646 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/1.497, allocations: 338.8 kB / 0.6464 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.497, allocations: 125.3 kB / 0.6465 GB, free: 13.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/1.497, allocations: 285.3 kB / 0.6468 GB, free: 12.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/1.498, allocations: 477.5 kB / 0.6472 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.498, allocations: 4 kB / 0.6472 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001103/1.499, allocations: 472.2 kB / 0.6477 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.499, allocations: 8.625 kB / 0.6477 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.499, allocations: 8 kB / 0.6477 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.499, allocations: 11.94 kB / 0.6477 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/1.5, allocations: 71.84 kB / 0.6478 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/1.5, allocations: 11.98 kB / 0.6478 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/1.5, allocations: 55.52 kB / 0.6478 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/1.5, allocations: 20 kB / 0.6478 GB, free: 11.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003483/1.501, allocations: 201.6 kB / 0.648 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/1.501, allocations: 27.81 kB / 0.6481 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.406e-05/1.501, allocations: 25.97 kB / 0.6481 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.501, allocations: 11.94 kB / 0.6481 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.501, allocations: 4 kB / 0.6481 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.501, allocations: 3.984 kB / 0.6481 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/1.502, allocations: 348.7 kB / 0.6484 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.502, allocations: 4.312 kB / 0.6484 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/1.502, allocations: 31.92 kB / 0.6485 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.502, allocations: 3.984 kB / 0.6485 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/1.502, allocations: 8 kB / 0.6485 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.502, allocations: 3.938 kB / 0.6485 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.502, allocations: 7.938 kB / 0.6485 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/1.503, allocations: 0.5216 MB / 0.649 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.503, allocations: 47.62 kB / 0.6491 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/1.503, allocations: 4 kB / 0.6491 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/1.503, allocations: 8 kB / 0.6491 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.503, allocations: 31.83 kB / 0.6491 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/1.503, allocations: 12 kB / 0.6491 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001493/1.504, allocations: 120.1 kB / 0.6492 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.504, allocations: 4 kB / 0.6492 GB, free: 10.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00104/1.505, allocations: 199.5 kB / 0.6494 GB, free: 9.945 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00097/1.506, allocations: 292.8 kB / 0.6497 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/1.507, allocations: 0.5603 MB / 0.6502 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.507, allocations: 0 / 0.6502 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008029/1.508, allocations: 476.2 kB / 0.6507 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.509, allocations: 204 kB / 0.6509 GB, free: 8.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/1.512, allocations: 1.06 MB / 0.6519 GB, free: 7.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/1.512, allocations: 353.7 kB / 0.6523 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007139/1.513, allocations: 261.7 kB / 0.6525 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.513, allocations: 59.3 kB / 0.6526 GB, free: 6.551 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.513, allocations: 0 / 0.6526 GB, free: 6.551 MB / 494.1 MB Notification: Performance of Templates: time 0.02757/1.541, allocations: 12.4 MB / 0.6647 GB, free: 10.15 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.154822697862983] Failed to read output from testmodel.py, exit status != 0: 1.5498174205422401 1.574552398 0.099063417 Calling exit ...