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.002355/0.002355, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002658/0.002658, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01315/0.01315, allocations: 1.981 MB / 261.5 MB, free: 11.09 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.495e-05, allocations: 6.312 kB / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.05646/0.05648, allocations: 52.13 MB / 383.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.199/0.2555, allocations: 29.58 MB / 413.3 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.2561, allocations: 7.375 kB / 413.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.2576, allocations: 0.5035 MB / 413.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006493/0.264, allocations: 2.274 MB / 416.1 MB, free: 15.95 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.1.1/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.008582/0.2726, allocations: 2.994 MB / 419.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.2747, allocations: 0.9711 MB / 420.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2749, allocations: 26.28 kB / 420.1 MB, free: 14.9 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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 1.541/1.816, allocations: 86.72 MB / 0.495 GB, free: 184 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/1.817, allocations: 246.3 kB / 0.4952 GB, free: 15.99 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/1.817, allocations: 40 kB / 0.4952 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3296/2.146, allocations: 44.68 MB / 0.5389 GB, free: 5.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/2.147, allocations: 120.2 kB / 0.539 GB, free: 5.258 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006869/2.147, allocations: 227.1 kB / 0.5392 GB, free: 5.086 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006404/2.154, allocations: 1.903 MB / 0.5411 GB, free: 3.746 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/2.154, allocations: 0 / 0.5411 GB, free: 3.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/2.154, allocations: 0 / 0.5411 GB, free: 3.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/2.154, allocations: 0 / 0.5411 GB, free: 3.746 MB / 426.7 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.001926/2.156, allocations: 1.2 MB / 0.5422 GB, free: 2.672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/2.156, allocations: 16.02 kB / 0.5422 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/2.158, allocations: 1.026 MB / 0.5432 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/2.159, allocations: 288 kB / 0.5435 GB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/2.159, allocations: 45.12 kB / 0.5436 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/2.159, allocations: 53.81 kB / 0.5436 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/2.16, allocations: 0.8938 MB / 0.5445 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/2.16, allocations: 4 kB / 0.5445 GB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/2.16, allocations: 33.22 kB / 0.5445 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/2.16, allocations: 38.47 kB / 0.5446 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/2.162, allocations: 496.5 kB / 0.545 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/2.166, allocations: 3.604 MB / 0.5486 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/2.166, allocations: 289.9 kB / 0.5488 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/2.167, allocations: 155.2 kB / 0.549 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/2.168, allocations: 1.086 MB / 0.55 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/2.168, allocations: 42.23 kB / 0.5501 GB, free: 12.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 1.613e-06/2.168, allocations: 0 / 0.5501 GB, free: 12.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.00168/2.17, allocations: 0.6377 MB / 0.5507 GB, free: 11.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/2.17, allocations: 77.11 kB / 0.5508 GB, free: 11.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/2.17, allocations: 271.6 kB / 0.551 GB, free: 11.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/2.17, allocations: 29.14 kB / 0.5511 GB, free: 11.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/2.17, allocations: 342.4 kB / 0.5514 GB, free: 10.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/2.171, allocations: 263.9 kB / 0.5516 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/2.171, allocations: 139.6 kB / 0.5518 GB, free: 10.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005378/2.171, allocations: 0.5352 MB / 0.5523 GB, free: 9.926 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/2.172, allocations: 109.3 kB / 0.5524 GB, free: 9.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/2.172, allocations: 362.3 kB / 0.5527 GB, free: 9.375 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/2.173, allocations: 0.5181 MB / 0.5533 GB, free: 8.781 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/2.173, allocations: 0 / 0.5533 GB, free: 8.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009042/2.174, allocations: 494.2 kB / 0.5537 GB, free: 8.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/2.174, allocations: 8 kB / 0.5537 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/2.174, allocations: 8 kB / 0.5537 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/2.174, allocations: 4 kB / 0.5537 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/2.174, allocations: 70.06 kB / 0.5538 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/2.174, allocations: 11.98 kB / 0.5538 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/2.174, allocations: 59.45 kB / 0.5539 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/2.174, allocations: 20 kB / 0.5539 GB, free: 8.152 MB / 442.7 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.0002876/2.175, allocations: 231.4 kB / 0.5541 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/2.175, allocations: 39.77 kB / 0.5542 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.231e-05/2.175, allocations: 33.95 kB / 0.5542 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.175, allocations: 0 / 0.5542 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/2.175, allocations: 4 kB / 0.5542 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/2.175, allocations: 7.922 kB / 0.5542 GB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/2.176, allocations: 452.3 kB / 0.5546 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/2.176, allocations: 0 / 0.5546 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/2.176, allocations: 30.8 kB / 0.5547 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/2.176, allocations: 0 / 0.5547 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/2.176, allocations: 8 kB / 0.5547 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/2.176, allocations: 4 kB / 0.5547 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.176, allocations: 4 kB / 0.5547 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/2.177, allocations: 0.6417 MB / 0.5553 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/2.177, allocations: 47.55 kB / 0.5553 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/2.177, allocations: 4 kB / 0.5553 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/2.177, allocations: 8 kB / 0.5554 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/2.177, allocations: 31.33 kB / 0.5554 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/2.177, allocations: 4 kB / 0.5554 GB, free: 6.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001439/2.177, allocations: 172 kB / 0.5556 GB, free: 6.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/2.177, allocations: 0 / 0.5556 GB, free: 6.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006736/2.178, allocations: 199.5 kB / 0.5557 GB, free: 6.207 MB / 442.7 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.0008326/2.179, allocations: 317.8 kB / 0.556 GB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009824/2.18, allocations: 0.5952 MB / 0.5566 GB, free: 5.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.18, allocations: 0 / 0.5566 GB, free: 5.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006833/2.18, allocations: 0.4896 MB / 0.5571 GB, free: 4.758 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/2.182, allocations: 193 kB / 0.5573 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/2.184, allocations: 1.04 MB / 0.5583 GB, free: 3.504 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/2.184, allocations: 357.7 kB / 0.5586 GB, free: 3.125 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008266/2.185, allocations: 264.5 kB / 0.5589 GB, free: 2.871 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/2.185, allocations: 48.5 kB / 0.5589 GB, free: 2.824 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/2.185, allocations: 0 / 0.5589 GB, free: 2.824 MB / 442.7 MB Notification: Performance of Templates: time 0.1279/2.313, allocations: 11.2 MB / 0.5699 GB, free: 194.2 MB / 442.7 MB " [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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.194612005027011]