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.001369/0.001369, allocations: 92.7 kB / 19.44 MB, free: 324 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.001611/0.001611, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.475/1.475, 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.01314/0.01314, allocations: 1.997 MB / 261.5 MB, free: 11.08 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.333e-06/1.333e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.086e-05, allocations: 4.562 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.04681/0.04683, allocations: 45.16 MB / 376.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03157/0.0784, allocations: 25.13 MB / 401.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.0789, allocations: 4 kB / 401.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.08058, allocations: 0.5122 MB / 402.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.08732, allocations: 2.268 MB / 404.7 MB, free: 7.914 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.009061/0.09638, allocations: 3.002 MB / 407.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.09804, allocations: 0.9708 MB / 408.7 MB, free: 3.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.09818, allocations: 25.97 kB / 408.7 MB, free: 3.883 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.548/1.646, allocations: 86.72 MB / 495.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/1.647, allocations: 241.8 kB / 495.7 MB, free: 2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.647, allocations: 40 kB / 495.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2802/1.927, allocations: 44.68 MB / 0.5277 GB, free: 7.727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/1.928, allocations: 116.2 kB / 0.5278 GB, free: 7.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/1.928, allocations: 218.8 kB / 0.528 GB, free: 7.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006046/1.934, allocations: 1.911 MB / 0.5299 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.934, allocations: 0 / 0.5299 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.934, allocations: 4 kB / 0.5299 GB, free: 6.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.489e-05/1.934, allocations: 0 / 0.5299 GB, free: 6.34 MB / 410.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.002149/1.936, allocations: 1.037 MB / 0.5309 GB, free: 5.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.936, allocations: 12.03 kB / 0.5309 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/1.939, allocations: 1.043 MB / 0.5319 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/1.94, allocations: 278.5 kB / 0.5322 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/1.94, allocations: 49.69 kB / 0.5323 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/1.94, allocations: 53.31 kB / 0.5323 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/1.942, allocations: 0.9859 MB / 0.5333 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.942, allocations: 4 kB / 0.5333 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/1.942, allocations: 31.05 kB / 0.5333 GB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/1.942, allocations: 34.17 kB / 0.5333 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.943, allocations: 0.7118 MB / 0.534 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/1.946, allocations: 2.645 MB / 0.5366 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/1.947, allocations: 283.5 kB / 0.5369 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/1.948, allocations: 158.8 kB / 0.537 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.949, allocations: 0.8898 MB / 0.5379 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/1.949, allocations: 34.56 kB / 0.5379 GB, free: 15.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.334e-06/1.949, allocations: 0 / 0.5379 GB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.001894/1.951, allocations: 0.653 MB / 0.5386 GB, free: 15.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/1.951, allocations: 77.11 kB / 0.5386 GB, free: 15.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/1.951, allocations: 177 kB / 0.5388 GB, free: 15.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.951, allocations: 29.52 kB / 0.5388 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/1.951, allocations: 285.5 kB / 0.5391 GB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.952, allocations: 253.8 kB / 0.5394 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/1.952, allocations: 96.33 kB / 0.5395 GB, free: 14.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/1.952, allocations: 346.1 kB / 0.5398 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/1.952, allocations: 126.5 kB / 0.5399 GB, free: 14.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/1.953, allocations: 286.2 kB / 0.5402 GB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/1.954, allocations: 476.7 kB / 0.5406 GB, free: 13.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.954, allocations: 0 / 0.5406 GB, free: 13.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009551/1.954, allocations: 497.6 kB / 0.5411 GB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.955, allocations: 4 kB / 0.5411 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.955, allocations: 8 kB / 0.5411 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.955, allocations: 4.625 kB / 0.5411 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/1.955, allocations: 78.22 kB / 0.5412 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.955, allocations: 7.984 kB / 0.5412 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/1.955, allocations: 73.73 kB / 0.5413 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.955, allocations: 16 kB / 0.5413 GB, free: 13.09 MB / 426.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.0002671/1.955, allocations: 187.8 kB / 0.5415 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/1.956, allocations: 42.66 kB / 0.5415 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/1.956, allocations: 31.59 kB / 0.5415 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.956, allocations: 0 / 0.5415 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.956, allocations: 4 kB / 0.5415 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.956, allocations: 7.938 kB / 0.5415 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/1.956, allocations: 353.1 kB / 0.5419 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.956, allocations: 4 kB / 0.5419 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.956, allocations: 30.61 kB / 0.5419 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.957, allocations: 0 / 0.5419 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.957, allocations: 10.8 kB / 0.5419 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.957, allocations: 2.625 kB / 0.5419 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.957, allocations: 0 / 0.5419 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/1.957, allocations: 0.5307 MB / 0.5424 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/1.957, allocations: 45.33 kB / 0.5425 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/1.958, allocations: 5.609 kB / 0.5425 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/1.958, allocations: 11.62 kB / 0.5425 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/1.958, allocations: 27.89 kB / 0.5425 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/1.958, allocations: 15.09 kB / 0.5426 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001124/1.958, allocations: 122.8 kB / 0.5427 GB, free: 11.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/1.958, allocations: 0 / 0.5427 GB, free: 11.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007356/1.959, allocations: 190.5 kB / 0.5428 GB, free: 11.75 MB / 426.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.0007336/1.959, allocations: 295.8 kB / 0.5431 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009854/1.96, allocations: 0.5722 MB / 0.5437 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.96, allocations: 4 kB / 0.5437 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/1.961, allocations: 466.2 kB / 0.5441 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.962, allocations: 199 kB / 0.5443 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/1.964, allocations: 1.032 MB / 0.5453 GB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/1.965, allocations: 357.5 kB / 0.5457 GB, free: 9.051 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006076/1.965, allocations: 261.5 kB / 0.5459 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.966, allocations: 48.5 kB / 0.546 GB, free: 8.754 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/1.966, allocations: 0 / 0.546 GB, free: 8.754 MB / 426.7 MB Notification: Performance of Templates: time 0.1235/2.089, allocations: 11.19 MB / 0.5569 GB, free: 183.2 MB / 426.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.761929425993003]