Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.0008958/0.0008958, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009057/0.001801, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006696/0.0006696, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008971/0.001567, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8911/0.8911, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07783/0.969, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.007165/0.007165, allocations: 1.99 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.008742, allocations: 1.227 MB / 247.2 MB, free: 11.64 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 4 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.343e-06/9.728e-06, allocations: 2.312 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.007821/0.007831, allocations: 11.98 MB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007117/0.01495, allocations: 12.16 MB / 272.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.01507, allocations: 7.875 kB / 272.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.01542, allocations: 214.5 kB / 272.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.01689, allocations: 1.253 MB / 274.1 MB, free: 0.6406 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.1006/0.1175, allocations: 1.164 MB / 275.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1185, allocations: 0.9992 MB / 276.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.1186, allocations: 37.72 kB / 276.3 MB, free: 5.719 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.6509/0.7695, allocations: 22.1 MB / 298.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.77, allocations: 242.6 kB / 298.6 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.77, allocations: 42.81 kB / 298.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.772, allocations: 0.7109 MB / 299.4 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.7721, allocations: 81.36 kB / 299.5 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.7724, allocations: 200.8 kB / 299.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.7739, allocations: 0.9035 MB / 300.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.007e-05/0.774, allocations: 0.7969 kB / 300.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.774, allocations: 0 / 300.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.774, allocations: 0 / 300.6 MB, free: 9.445 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.001096/0.7751, allocations: 1.102 MB / 301.7 MB, free: 8.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.7751, allocations: 14.81 kB / 301.7 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.7765, allocations: 1.049 MB / 302.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.7768, allocations: 206.8 kB / 302.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.7768, allocations: 47.91 kB / 303 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.7768, allocations: 54.09 kB / 303 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.7774, allocations: 0.6966 MB / 303.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7775, allocations: 6.938 kB / 303.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.7775, allocations: 29.19 kB / 303.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.7775, allocations: 31.06 kB / 303.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.7778, allocations: 298.9 kB / 304.1 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.7793, allocations: 2.262 MB / 306.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.7796, allocations: 177.2 kB / 306.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.7796, allocations: 71.89 kB / 306.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.7802, allocations: 0.6749 MB / 307.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.7802, allocations: 38.56 kB / 307.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.883e-06/0.7802, allocations: 0 / 307.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006434/0.7809, allocations: 436.1 kB / 307.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.7809, allocations: 87.53 kB / 307.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.781, allocations: 192.9 kB / 308 MB, free: 5.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.781, allocations: 25.7 kB / 308 MB, free: 5.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.7811, allocations: 294.8 kB / 308.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.7812, allocations: 249.3 kB / 308.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.7814, allocations: 95.64 kB / 308.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.7815, allocations: 348.3 kB / 309 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.7815, allocations: 41.08 kB / 309 MB, free: 4.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.7816, allocations: 227.2 kB / 309.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.7819, allocations: 329.8 kB / 309.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.7819, allocations: 4 kB / 309.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002713/0.7821, allocations: 317.8 kB / 309.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7821, allocations: 8 kB / 309.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7822, allocations: 4 kB / 309.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7822, allocations: 11.28 kB / 309.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.7824, allocations: 85.05 kB / 310 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005024/0.7829, allocations: 1.178 MB / 311.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.783, allocations: 55.27 kB / 311.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.783, allocations: 15.38 kB / 311.2 MB, free: 2.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.7831, allocations: 153.7 kB / 311.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.7832, allocations: 15.94 kB / 311.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.7832, allocations: 25.25 kB / 311.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7832, allocations: 4 kB / 311.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.7832, allocations: 0 / 311.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7832, allocations: 4.062 kB / 311.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.7834, allocations: 235.8 kB / 311.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7834, allocations: 3 kB / 311.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.7835, allocations: 34.38 kB / 311.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.7836, allocations: 50.58 kB / 311.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7836, allocations: 3.938 kB / 311.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.7836, allocations: 7.812 kB / 311.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002975/0.7839, allocations: 1.159 MB / 312.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7839, allocations: 4.125 kB / 312.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.7841, allocations: 381 kB / 313.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.7841, allocations: 10.02 kB / 313.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.7842, allocations: 3.938 kB / 313.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.7842, allocations: 23.38 kB / 313.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7842, allocations: 0 / 313.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.7843, allocations: 45.11 kB / 313.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7843, allocations: 0 / 313.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000332/0.7846, allocations: 179.1 kB / 313.5 MB, free: 424 kB / 282.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.7849, allocations: 194.2 kB / 313.7 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.7853, allocations: 469.1 kB / 314.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.7853, allocations: 4 kB / 314.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.7858, allocations: 447.7 kB / 314.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.7864, allocations: 234.6 kB / 314.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.7925, allocations: 1.046 MB / 315.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.7926, allocations: 165.8 kB / 316.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.7929, allocations: 183.7 kB / 316.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.7931, allocations: 190 kB / 316.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7931, allocations: 0 / 316.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Templates: time 0.01326/0.8064, allocations: 10.96 MB / 327.4 MB, free: 3.305 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.139261931180954]