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.001102/0.001102, allocations: 92.22 kB / 19.65 MB, free: 280 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.001479/0.001479, allocations: 169 kB / 23.02 MB, free: 1.551 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.9548/0.9548, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.008289/0.008289, allocations: 1.986 MB / 261.9 MB, free: 11.06 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 2.244e-06/2.244e-06, allocations: 0 / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.737e-05, allocations: 2.312 kB / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.01123/0.01126, allocations: 11.95 MB / 344.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.02188, allocations: 12.17 MB / 356.5 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.02215, allocations: 8 kB / 356.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.0227, allocations: 210.4 kB / 356.7 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.025, allocations: 1.253 MB / 357.9 MB, free: 7.227 MB / 282.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.002367/0.02736, allocations: 1.161 MB / 359.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000664/0.02803, allocations: 0.9749 MB / 360.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.604e-05/0.02809, allocations: 33.91 kB / 360.1 MB, free: 5.043 MB / 282.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.7013/0.7294, allocations: 22.04 MB / 382.1 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.7298, allocations: 239.4 kB / 382.4 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.7299, allocations: 40 kB / 382.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.732, allocations: 0.6987 MB / 383.1 MB, free: 108 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.7322, allocations: 111.5 kB / 383.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.7324, allocations: 227.4 kB / 383.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.7343, allocations: 0.9384 MB / 384.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7343, allocations: 0 / 384.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.7343, allocations: 0 / 384.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.7343, allocations: 0 / 384.4 MB, free: 14.83 MB / 314.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.001206/0.7355, allocations: 0.9864 MB / 385.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7356, allocations: 15.97 kB / 385.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.7376, allocations: 1.03 MB / 386.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.738, allocations: 283.7 kB / 386.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.7381, allocations: 45.69 kB / 386.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.7381, allocations: 56.38 kB / 386.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.7392, allocations: 0.759 MB / 387.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.7392, allocations: 3.938 kB / 387.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.7393, allocations: 28 kB / 387.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.7393, allocations: 35.97 kB / 387.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.7399, allocations: 352.8 kB / 388 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.7426, allocations: 3.193 MB / 391.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.7433, allocations: 237.8 kB / 391.4 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.7435, allocations: 111.3 kB / 391.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008505/0.7443, allocations: 0.9274 MB / 392.4 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.7444, allocations: 33.39 kB / 392.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.843e-06/0.7444, allocations: 8 kB / 392.5 MB, free: 6.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001082/0.7454, allocations: 0.5491 MB / 393 MB, free: 5.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.7455, allocations: 77.11 kB / 393.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.7456, allocations: 237.7 kB / 393.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.7457, allocations: 29.7 kB / 393.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.7458, allocations: 331.2 kB / 393.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.746, allocations: 249.7 kB / 393.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.7461, allocations: 103.6 kB / 394 MB, free: 4.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7462, allocations: 0.5195 MB / 394.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.7463, allocations: 69.3 kB / 394.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.7468, allocations: 295.6 kB / 394.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.7472, allocations: 408 kB / 395.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7472, allocations: 0 / 395.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0005188/0.7477, allocations: 412.7 kB / 395.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.7477, allocations: 16.08 kB / 395.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7477, allocations: 4 kB / 395.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.7478, allocations: 8 kB / 395.7 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.748, allocations: 67.91 kB / 395.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.748, allocations: 11.88 kB / 395.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.7482, allocations: 55.52 kB / 395.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.7482, allocations: 20 kB / 395.9 MB, free: 2.738 MB / 314.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.0001426/0.7483, allocations: 176.5 kB / 396.1 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.7484, allocations: 39.8 kB / 396.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.7485, allocations: 29.97 kB / 396.1 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.7485, allocations: 4 kB / 396.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7485, allocations: 7.875 kB / 396.1 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.7485, allocations: 4 kB / 396.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.7489, allocations: 371.7 kB / 396.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7489, allocations: 0 / 396.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.749, allocations: 35.98 kB / 396.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.749, allocations: 0 / 396.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.749, allocations: 4 kB / 396.5 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.749, allocations: 4 kB / 396.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.749, allocations: 3.984 kB / 396.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.7495, allocations: 0.5728 MB / 397.1 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.7495, allocations: 39.64 kB / 397.2 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.7495, allocations: 4 kB / 397.2 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.7497, allocations: 4 kB / 397.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.7497, allocations: 31.89 kB / 397.2 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.7498, allocations: 11.98 kB / 397.2 MB, free: 1.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.7498, allocations: 156 kB / 397.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7498, allocations: 0 / 397.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006688/0.7505, allocations: 187.5 kB / 397.5 MB, free: 1.004 MB / 314.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.0004605/0.751, allocations: 187.6 kB / 397.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.7516, allocations: 499.7 kB / 398.2 MB, free: 312 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7516, allocations: 4 kB / 398.2 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.7519, allocations: 453.4 kB / 398.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.7529, allocations: 196.9 kB / 398.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.7544, allocations: 1.005 MB / 399.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.7545, allocations: 160.8 kB / 400 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.7549, allocations: 213.9 kB / 400.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.755, allocations: 60.48 kB / 400.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.755, allocations: 0 / 400.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of Templates: time 0.01363/0.7686, allocations: 10.4 MB / 410.7 MB, free: 3.672 MB / 330.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.662986183073372]