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.001259/0.001259, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001614/0.001614, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9032/0.9032, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.007287/0.007287, allocations: 1.996 MB / 262.3 MB, free: 10.94 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.193e-06/1.193e-06, allocations: 0 / 279.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.699e-05, allocations: 2.312 kB / 279.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1083/0.1083, allocations: 11.86 MB / 291.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.1163, allocations: 12.16 MB / 303.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.1165, allocations: 7.688 kB / 303.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.117, allocations: 217.3 kB / 303.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.1192, allocations: 1.26 MB / 305.1 MB, free: 12.89 MB / 266.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.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.1213, allocations: 1.181 MB / 306.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.1221, allocations: 0.96 MB / 307.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.1221, allocations: 35.95 kB / 307.2 MB, free: 11.62 MB / 266.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 0.6583/0.7805, allocations: 22.15 MB / 329.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.7809, allocations: 239.3 kB / 329.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.781, allocations: 40 kB / 329.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.7833, allocations: 0.6832 MB / 330.3 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.7834, allocations: 123.5 kB / 330.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.7836, allocations: 227.5 kB / 330.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.7851, allocations: 0.9345 MB / 331.6 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7851, allocations: 0 / 331.6 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.7851, allocations: 0 / 331.6 MB, free: 8.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.7851, allocations: 4 kB / 331.6 MB, free: 8.43 MB / 282.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.0008824/0.786, allocations: 0.8585 MB / 332.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.7861, allocations: 8.031 kB / 332.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.7875, allocations: 1.05 MB / 333.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.7878, allocations: 205 kB / 333.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.7878, allocations: 49.69 kB / 333.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.7879, allocations: 60.38 kB / 333.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.7885, allocations: 0.6998 MB / 334.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7885, allocations: 4 kB / 334.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.7886, allocations: 31.92 kB / 334.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.7886, allocations: 31.98 kB / 334.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.7889, allocations: 292.5 kB / 334.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.7905, allocations: 2.238 MB / 337.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.7907, allocations: 185 kB / 337.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.7908, allocations: 77.64 kB / 337.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.7914, allocations: 0.6608 MB / 338.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.7914, allocations: 38.5 kB / 338.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.773e-06/0.7914, allocations: 0 / 338.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006157/0.792, allocations: 459.2 kB / 338.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.792, allocations: 81.11 kB / 338.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.7921, allocations: 170.4 kB / 338.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.7921, allocations: 29.7 kB / 338.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.7923, allocations: 288.5 kB / 339.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.7924, allocations: 249.7 kB / 339.3 MB, free: 420 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.7924, allocations: 97.89 kB / 339.4 MB, free: 312 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.7925, allocations: 346.7 kB / 339.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.7926, allocations: 45.31 kB / 339.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.7927, allocations: 209.4 kB / 340 MB, free: 15.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.7929, allocations: 321.5 kB / 340.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7929, allocations: 4 kB / 340.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003134/0.7932, allocations: 304.6 kB / 340.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7932, allocations: 4.625 kB / 340.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.7932, allocations: 8 kB / 340.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.7932, allocations: 8 kB / 340.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7934, allocations: 67.91 kB / 340.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.7934, allocations: 15.92 kB / 340.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.7935, allocations: 55.52 kB / 340.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.7935, allocations: 12 kB / 340.8 MB, free: 14.79 MB / 298.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,medium1.baseProperties.phaseInput,medium2.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.0001019/0.7936, allocations: 140.5 kB / 340.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.7937, allocations: 27.97 kB / 341 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.7937, allocations: 21.97 kB / 341 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.7937, allocations: 7.938 kB / 341 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.7937, allocations: 4 kB / 341 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7937, allocations: 4 kB / 341 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.7939, allocations: 237.3 kB / 341.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7939, allocations: 0 / 341.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.794, allocations: 35.92 kB / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.794, allocations: 0 / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.794, allocations: 0 / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.794, allocations: 4 kB / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.794, allocations: 0 / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.7942, allocations: 407.5 kB / 341.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.7943, allocations: 39.62 kB / 341.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.7943, allocations: 8 kB / 341.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.7944, allocations: 8 kB / 341.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.7944, allocations: 19.95 kB / 341.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.7944, allocations: 8 kB / 341.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.84e-05/0.7945, allocations: 41.62 kB / 341.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.7945, allocations: 0 / 341.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.7948, allocations: 179.6 kB / 342 MB, free: 13.56 MB / 298.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.0002827/0.7951, allocations: 179.9 kB / 342.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.7954, allocations: 456.8 kB / 342.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.7954, allocations: 4 kB / 342.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.7956, allocations: 422.5 kB / 343 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.7961, allocations: 201.4 kB / 343.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.7973, allocations: 1.011 MB / 344.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.7974, allocations: 164.8 kB / 344.4 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.7977, allocations: 217.9 kB / 344.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.7979, allocations: 213.2 kB / 344.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.7979, allocations: 0 / 344.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of Templates: time 0.01195/0.8099, allocations: 10.57 MB / 355.4 MB, free: 12 kB / 298.7 MB " [Timeout remaining time 659] 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: 4.016011893283576]