Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.002393/0.002393, allocations: 93.47 kB / 19.44 MB, free: 336 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.002295/0.002295, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.01447/0.01447, allocations: 1.993 MB / 261.5 MB, free: 11.11 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 331.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.25e-05, allocations: 2.312 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.0538/0.05382, allocations: 52.14 MB / 383.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1749/0.2288, allocations: 29.57 MB / 413.3 MB, free: 16.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.2293, allocations: 6.875 kB / 413.4 MB, free: 16.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.2308, allocations: 0.5079 MB / 413.9 MB, free: 16.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.2362, allocations: 2.279 MB / 416.1 MB, free: 15.96 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006662/0.2428, allocations: 2.987 MB / 419.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2439, allocations: 0.9658 MB / 420.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.244, allocations: 28.67 kB / 420.1 MB, free: 14.91 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.274/1.518, allocations: 85.64 MB / 0.4939 GB, free: 1.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009249/1.519, allocations: 246.2 kB / 0.4941 GB, free: 1.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/1.519, allocations: 40 kB / 0.4942 GB, free: 1.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3311/1.85, allocations: 44.12 MB / 0.5373 GB, free: 6.973 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/1.85, allocations: 111.5 kB / 0.5374 GB, free: 6.918 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/1.851, allocations: 227 kB / 0.5376 GB, free: 6.746 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/1.857, allocations: 1.903 MB / 0.5394 GB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.857, allocations: 0 / 0.5394 GB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.857, allocations: 4 kB / 0.5394 GB, free: 5.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/1.857, allocations: 4 kB / 0.5394 GB, free: 5.398 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.002019/1.86, allocations: 1.195 MB / 0.5406 GB, free: 4.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/1.86, allocations: 8.031 kB / 0.5406 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/1.862, allocations: 1.027 MB / 0.5416 GB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/1.863, allocations: 293.7 kB / 0.5419 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/1.863, allocations: 43.12 kB / 0.5419 GB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/1.863, allocations: 62.94 kB / 0.542 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/1.864, allocations: 0.8898 MB / 0.5429 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.864, allocations: 7.188 kB / 0.5429 GB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/1.865, allocations: 26.75 kB / 0.5429 GB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/1.865, allocations: 38.47 kB / 0.5429 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.866, allocations: 494 kB / 0.5434 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/1.87, allocations: 3.606 MB / 0.5469 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/1.871, allocations: 296.4 kB / 0.5472 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/1.871, allocations: 157.1 kB / 0.5474 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.872, allocations: 1.086 MB / 0.5484 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.872, allocations: 36.83 kB / 0.5485 GB, free: 13.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 1.773e-06/1.872, allocations: 3.281 kB / 0.5485 GB, free: 13.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.001802/1.874, allocations: 0.635 MB / 0.5491 GB, free: 13.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/1.874, allocations: 81.11 kB / 0.5492 GB, free: 13.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/1.875, allocations: 274.7 kB / 0.5494 GB, free: 12.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/1.875, allocations: 29.02 kB / 0.5495 GB, free: 12.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/1.875, allocations: 336.7 kB / 0.5498 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/1.875, allocations: 268.7 kB / 0.55 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/1.875, allocations: 130.1 kB / 0.5502 GB, free: 12.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003298/1.876, allocations: 0.5391 MB / 0.5507 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/1.876, allocations: 111.8 kB / 0.5508 GB, free: 11.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.876, allocations: 354.9 kB / 0.5511 GB, free: 11.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/1.877, allocations: 0.5107 MB / 0.5516 GB, free: 10.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.877, allocations: 4 kB / 0.5516 GB, free: 10.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009332/1.878, allocations: 494.4 kB / 0.5521 GB, free: 10.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.878, allocations: 11.94 kB / 0.5521 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.878, allocations: 7.375 kB / 0.5521 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.878, allocations: 8 kB / 0.5521 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/1.878, allocations: 67.88 kB / 0.5522 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.878, allocations: 14.98 kB / 0.5522 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/1.879, allocations: 59.45 kB / 0.5523 GB, free: 9.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.879, allocations: 20 kB / 0.5523 GB, free: 9.855 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.0002875/1.879, allocations: 231.2 kB / 0.5525 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.879, allocations: 39.77 kB / 0.5525 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/1.879, allocations: 29.95 kB / 0.5526 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.879, allocations: 4 kB / 0.5526 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.879, allocations: 0 / 0.5526 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.879, allocations: 3.938 kB / 0.5526 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/1.88, allocations: 456.6 kB / 0.553 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.88, allocations: 4 kB / 0.553 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.88, allocations: 31.08 kB / 0.553 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.88, allocations: 0 / 0.553 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.88, allocations: 8 kB / 0.5531 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.88, allocations: 4 kB / 0.5531 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.88, allocations: 0 / 0.5531 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/1.881, allocations: 0.6502 MB / 0.5537 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/1.881, allocations: 35.62 kB / 0.5537 GB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/1.881, allocations: 11.94 kB / 0.5537 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/1.881, allocations: 8 kB / 0.5537 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.881, allocations: 27.95 kB / 0.5538 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/1.881, allocations: 8 kB / 0.5538 GB, free: 8.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001573/1.882, allocations: 171.1 kB / 0.5539 GB, free: 8.102 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.882, allocations: 0 / 0.5539 GB, free: 8.102 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006934/1.882, allocations: 195.5 kB / 0.5541 GB, free: 7.91 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.0009267/1.883, allocations: 314.7 kB / 0.5544 GB, free: 7.629 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009998/1.884, allocations: 0.5934 MB / 0.555 GB, free: 7.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.884, allocations: 0 / 0.555 GB, free: 7.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007158/1.885, allocations: 0.4925 MB / 0.5555 GB, free: 6.461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.886, allocations: 196.8 kB / 0.5557 GB, free: 6.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/1.888, allocations: 1.041 MB / 0.5567 GB, free: 5.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/1.889, allocations: 357.7 kB / 0.557 GB, free: 4.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005441/1.889, allocations: 268 kB / 0.5573 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/1.889, allocations: 44.5 kB / 0.5573 GB, free: 4.523 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/1.889, allocations: 4 kB / 0.5573 GB, free: 4.52 MB / 442.7 MB Notification: Performance of Templates: time 0.1409/2.03, allocations: 11.15 MB / 0.5682 GB, free: 198.2 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.849533976055682]