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.0008021/0.0008021, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0008576/0.0008576, allocations: 177 kB / 23.36 MB, free: 1.137 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.8825/0.8825, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.007303/0.007303, allocations: 1.996 MB / 262.3 MB, free: 10.92 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 1.392e-06/1.392e-06, allocations: 0 / 279.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.265e-05, allocations: 2.312 kB / 279.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.107/0.107, allocations: 11.9 MB / 291.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008261/0.1152, allocations: 12.17 MB / 303.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.1155, allocations: 2.219 kB / 303.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.116, allocations: 220.8 kB / 303.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1186, allocations: 1.262 MB / 305.1 MB, free: 12.3 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.002295/0.1209, allocations: 1.178 MB / 306.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007921/0.1217, allocations: 0.9825 MB / 307.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.1218, allocations: 32.72 kB / 307.3 MB, free: 11.36 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.7726, allocations: 22.14 MB / 329.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/0.7735, allocations: 247.3 kB / 329.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.7735, allocations: 40 kB / 329.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.7765, allocations: 0.6871 MB / 330.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.7766, allocations: 111.5 kB / 330.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.7768, allocations: 235.4 kB / 330.7 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.7785, allocations: 0.9384 MB / 331.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.7785, allocations: 4 kB / 331.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7785, allocations: 0 / 331.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.7785, allocations: 4 kB / 331.7 MB, free: 8.227 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.0008773/0.7794, allocations: 0.8468 MB / 332.5 MB, free: 7.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.7794, allocations: 12.03 kB / 332.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.7808, allocations: 1.042 MB / 333.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.7811, allocations: 213 kB / 333.8 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.7811, allocations: 45.69 kB / 333.8 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.7812, allocations: 56.38 kB / 333.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.7818, allocations: 0.7077 MB / 334.6 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.7819, allocations: 11.88 kB / 334.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.7819, allocations: 23.94 kB / 334.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.7819, allocations: 35.97 kB / 334.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.7822, allocations: 288.5 kB / 335 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.784, allocations: 2.266 MB / 337.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.7842, allocations: 173 kB / 337.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.7843, allocations: 73.64 kB / 337.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/0.7848, allocations: 0.6607 MB / 338.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.7848, allocations: 38.5 kB / 338.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.483e-06/0.7848, allocations: 0 / 338.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006173/0.7855, allocations: 430.3 kB / 338.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.7855, allocations: 85.11 kB / 338.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.7856, allocations: 199.1 kB / 338.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.7856, allocations: 29.7 kB / 338.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.7857, allocations: 296.4 kB / 339.2 MB, free: 448 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-05/0.7858, allocations: 237.8 kB / 339.4 MB, free: 208 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.7859, allocations: 97.89 kB / 339.5 MB, free: 100 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.786, allocations: 354.7 kB / 339.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.786, allocations: 37.31 kB / 339.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.7861, allocations: 224 kB / 340.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.7864, allocations: 335.6 kB / 340.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7864, allocations: 0 / 340.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002652/0.7867, allocations: 320.5 kB / 340.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7867, allocations: 8.719 kB / 340.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.7867, allocations: 4 kB / 340.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7867, allocations: 16 kB / 340.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.7869, allocations: 79.84 kB / 340.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/0.7873, allocations: 1.172 MB / 342 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.7874, allocations: 55.52 kB / 342.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.7874, allocations: 16 kB / 342.1 MB, free: 13.29 MB / 298.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.0001068/0.7875, allocations: 148.4 kB / 342.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.7876, allocations: 24.09 kB / 342.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.7876, allocations: 26.66 kB / 342.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7876, allocations: 0 / 342.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7876, allocations: 4 kB / 342.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7876, allocations: 0 / 342.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.7878, allocations: 229.5 kB / 342.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7878, allocations: 0 / 342.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.7879, allocations: 35.97 kB / 342.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7879, allocations: 3.938 kB / 342.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.7879, allocations: 11.94 kB / 342.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003109/0.7883, allocations: 1.164 MB / 343.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7883, allocations: 0 / 343.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.7885, allocations: 387.8 kB / 344.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.7885, allocations: 39.62 kB / 344.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.7885, allocations: 0 / 344.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.7886, allocations: 15.92 kB / 344.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.7886, allocations: 15.97 kB / 344.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.7887, allocations: 4 kB / 344.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.7887, allocations: 40.94 kB / 344.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.7887, allocations: 4 kB / 344.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.789, allocations: 183.5 kB / 344.4 MB, free: 10.88 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: 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.0003154/0.7893, allocations: 179.6 kB / 344.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.7897, allocations: 469.1 kB / 345 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.7897, allocations: 0 / 345 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.79, allocations: 430.5 kB / 345.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.7905, allocations: 196.5 kB / 345.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.7918, allocations: 1.022 MB / 346.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.7919, allocations: 163.8 kB / 346.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.7921, allocations: 183.9 kB / 347 MB, free: 8.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.7923, allocations: 197.2 kB / 347.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7923, allocations: 0 / 347.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of Templates: time 0.01284/0.8052, allocations: 10.54 MB / 357.8 MB, free: 13.38 MB / 314.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.137739344034344]