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.001821/0.001821, allocations: 84.73 kB / 19.44 MB, free: 360 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.001547/0.001547, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.01302/0.01302, allocations: 1.985 MB / 261.5 MB, free: 11.09 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.503e-06/1.503e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.371e-05, allocations: 2.312 kB / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.0517/0.05172, allocations: 45.19 MB / 376.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03301/0.08473, allocations: 25.15 MB / 402 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.08527, allocations: 0 / 402 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.08717, allocations: 0.5083 MB / 402.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.09465, allocations: 2.272 MB / 404.8 MB, free: 7.871 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009729/0.1044, allocations: 3.002 MB / 407.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.1065, allocations: 0.9708 MB / 408.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1068, allocations: 29.97 kB / 408.8 MB, free: 3.832 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.579/1.686, allocations: 86.72 MB / 495.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/1.686, allocations: 245.7 kB / 495.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/1.686, allocations: 40 kB / 495.8 MB, free: 1.699 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2701/1.956, allocations: 44.67 MB / 0.5278 GB, free: 7.477 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/1.957, allocations: 117.9 kB / 0.5279 GB, free: 7.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/1.957, allocations: 224.9 kB / 0.5281 GB, free: 7.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005014/1.962, allocations: 1.916 MB / 0.53 GB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.962, allocations: 0 / 0.53 GB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/1.962, allocations: 0 / 0.53 GB, free: 6.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/1.962, allocations: 0 / 0.53 GB, free: 6.082 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.001706/1.964, allocations: 1.039 MB / 0.531 GB, free: 5.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/1.964, allocations: 8.031 kB / 0.531 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/1.966, allocations: 1.045 MB / 0.532 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/1.967, allocations: 281.2 kB / 0.5323 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/1.967, allocations: 45.64 kB / 0.5323 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/1.967, allocations: 59.25 kB / 0.5324 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.969, allocations: 0.9786 MB / 0.5333 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.969, allocations: 7.375 kB / 0.5333 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/1.969, allocations: 31.19 kB / 0.5334 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/1.969, allocations: 31.42 kB / 0.5334 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.97, allocations: 0.7181 MB / 0.5341 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/1.974, allocations: 2.71 MB / 0.5367 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/1.974, allocations: 265.1 kB / 0.537 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/1.974, allocations: 162.6 kB / 0.5371 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.976, allocations: 0.8876 MB / 0.538 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.976, allocations: 35.08 kB / 0.538 GB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=71): time 1.744e-06/1.976, allocations: 0 / 0.538 GB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.001628/1.977, allocations: 0.6245 MB / 0.5387 GB, free: 15.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.977, allocations: 81.11 kB / 0.5387 GB, free: 15.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/1.978, allocations: 201.4 kB / 0.5389 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/1.978, allocations: 29.7 kB / 0.539 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/1.978, allocations: 295.7 kB / 0.5392 GB, free: 14.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/1.978, allocations: 241.3 kB / 0.5395 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.978, allocations: 92.78 kB / 0.5396 GB, free: 14.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/1.979, allocations: 345.6 kB / 0.5399 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/1.979, allocations: 122.3 kB / 0.54 GB, free: 13.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/1.979, allocations: 296.1 kB / 0.5403 GB, free: 13.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/1.98, allocations: 487.2 kB / 0.5408 GB, free: 13.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.98, allocations: 0 / 0.5408 GB, free: 13.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008345/1.981, allocations: 0.4971 MB / 0.5412 GB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.981, allocations: 12.12 kB / 0.5412 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.981, allocations: 4 kB / 0.5413 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.981, allocations: 8 kB / 0.5413 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/1.981, allocations: 93.33 kB / 0.5413 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/1.982, allocations: 1.171 MB / 0.5425 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/1.982, allocations: 67.22 kB / 0.5426 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/1.982, allocations: 21.69 kB / 0.5426 GB, free: 11.57 MB / 426.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,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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.0003089/1.983, allocations: 198.6 kB / 0.5428 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.983, allocations: 29.94 kB / 0.5428 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.189e-05/1.983, allocations: 36.14 kB / 0.5428 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.983, allocations: 3.984 kB / 0.5428 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.983, allocations: 4 kB / 0.5428 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.983, allocations: 0.7656 kB / 0.5428 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/1.984, allocations: 355.1 kB / 0.5432 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.984, allocations: 0 / 0.5432 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/1.984, allocations: 39.22 kB / 0.5432 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.984, allocations: 4 kB / 0.5432 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/1.984, allocations: 10.69 kB / 0.5432 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/1.985, allocations: 1.173 MB / 0.5444 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.985, allocations: 0 / 0.5444 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/1.986, allocations: 0.5118 MB / 0.5449 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/1.986, allocations: 39.44 kB / 0.5449 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/1.986, allocations: 4 kB / 0.5449 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/1.986, allocations: 11.88 kB / 0.5449 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/1.986, allocations: 19.25 kB / 0.5449 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/1.986, allocations: 8.281 kB / 0.545 GB, free: 9.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001177/1.986, allocations: 119.2 kB / 0.5451 GB, free: 9.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/1.986, allocations: 0 / 0.5451 GB, free: 9.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007348/1.987, allocations: 206 kB / 0.5453 GB, free: 9.043 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: 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.0006839/1.988, allocations: 294.1 kB / 0.5455 GB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/1.989, allocations: 0.5811 MB / 0.5461 GB, free: 8.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.989, allocations: 0 / 0.5461 GB, free: 8.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006788/1.989, allocations: 483 kB / 0.5466 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.99, allocations: 199.5 kB / 0.5468 GB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.992, allocations: 1.046 MB / 0.5478 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/1.993, allocations: 348.8 kB / 0.5481 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005141/1.993, allocations: 223.4 kB / 0.5483 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/1.993, allocations: 44.5 kB / 0.5484 GB, free: 6.051 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/1.993, allocations: 4.547 kB / 0.5484 GB, free: 6.047 MB / 426.7 MB Notification: Performance of Templates: time 0.1221/2.115, allocations: 11.18 MB / 0.5593 GB, free: 183.4 MB / 426.7 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.948348808917217]