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.0009451/0.0009451, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009752/0.0009752, allocations: 173 kB / 23.49 MB, free: 1.059 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.9428/0.9428, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.01261/0.01261, allocations: 1.985 MB / 262.3 MB, free: 11.12 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.953e-06/1.953e-06, allocations: 0 / 332.4 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.411e-05, allocations: 5.406 kB / 332.4 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.03286/0.03288, allocations: 52.27 MB / 384.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1635/0.1964, allocations: 29.58 MB / 414.2 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.1969, allocations: 2.594 kB / 414.2 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1981, allocations: 0.5094 MB / 414.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.2028, allocations: 2.272 MB / 417 MB, free: 15.97 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.006112/0.2089, allocations: 2.997 MB / 420 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.2099, allocations: 0.9781 MB / 421 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.21, allocations: 29.08 kB / 421 MB, free: 14.91 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 0.8946/1.105, allocations: 86.73 MB / 0.4959 GB, free: 184 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/1.105, allocations: 243.8 kB / 0.4961 GB, free: 0 / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.651e-05/1.105, allocations: 40.05 kB / 0.4961 GB, free: 15.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1097/1.215, allocations: 44.68 MB / 0.5398 GB, free: 5.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/1.215, allocations: 113.4 kB / 0.5399 GB, free: 5.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/1.216, allocations: 234.2 kB / 0.5401 GB, free: 5.094 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003924/1.22, allocations: 1.619 MB / 0.5417 GB, free: 3.984 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.22, allocations: 0 / 0.5417 GB, free: 3.984 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/1.22, allocations: 0 / 0.5417 GB, free: 3.984 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/1.22, allocations: 0 / 0.5417 GB, free: 3.984 MB / 426.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.001054/1.221, allocations: 1.142 MB / 0.5428 GB, free: 2.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/1.221, allocations: 8.031 kB / 0.5428 GB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/1.222, allocations: 1.035 MB / 0.5438 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/1.223, allocations: 284.6 kB / 0.5441 GB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/1.223, allocations: 48.19 kB / 0.5441 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/1.223, allocations: 59.53 kB / 0.5442 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/1.223, allocations: 0.7651 MB / 0.5449 GB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.224, allocations: 2.906 kB / 0.5449 GB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/1.224, allocations: 30.62 kB / 0.5449 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/1.224, allocations: 30.42 kB / 0.545 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/1.224, allocations: 358.4 kB / 0.5453 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/1.226, allocations: 3.262 MB / 0.5485 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/1.226, allocations: 224 kB / 0.5487 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/1.227, allocations: 112.4 kB / 0.5488 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/1.227, allocations: 1.039 MB / 0.5498 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/1.227, allocations: 44.64 kB / 0.5499 GB, free: 12.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.884e-06/1.227, allocations: 4 kB / 0.5499 GB, free: 12.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.000855/1.228, allocations: 0.5217 MB / 0.5504 GB, free: 12.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/1.228, allocations: 81.11 kB / 0.5505 GB, free: 12.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/1.228, allocations: 247.9 kB / 0.5507 GB, free: 12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.228, allocations: 28.95 kB / 0.5507 GB, free: 11.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.228, allocations: 341.1 kB / 0.5511 GB, free: 11.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.229, allocations: 241.6 kB / 0.5513 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/1.229, allocations: 107.5 kB / 0.5514 GB, free: 11.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/1.229, allocations: 0.5079 MB / 0.5519 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/1.229, allocations: 66.05 kB / 0.552 GB, free: 10.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/1.229, allocations: 321.6 kB / 0.5523 GB, free: 10.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/1.229, allocations: 442.5 kB / 0.5527 GB, free: 9.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.229, allocations: 0 / 0.5527 GB, free: 9.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004128/1.23, allocations: 435.9 kB / 0.5531 GB, free: 9.602 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.23, allocations: 12.03 kB / 0.5531 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.23, allocations: 4 kB / 0.5531 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.23, allocations: 11.94 kB / 0.5531 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.23, allocations: 82.61 kB / 0.5532 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/1.231, allocations: 1.793 MB / 0.555 GB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/1.231, allocations: 59.06 kB / 0.555 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/1.231, allocations: 19.5 kB / 0.555 GB, free: 7.594 MB / 442.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.0001358/1.231, allocations: 192.3 kB / 0.5552 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/1.231, allocations: 30.81 kB / 0.5552 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/1.231, allocations: 35.52 kB / 0.5553 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.231, allocations: 0 / 0.5553 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.231, allocations: 4 kB / 0.5553 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.231, allocations: 0 / 0.5553 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/1.231, allocations: 375.5 kB / 0.5556 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.231, allocations: 0 / 0.5556 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/1.232, allocations: 36.86 kB / 0.5557 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.232, allocations: 8 kB / 0.5557 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.232, allocations: 5.875 kB / 0.5557 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004786/1.232, allocations: 1.785 MB / 0.5574 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.232, allocations: 4 kB / 0.5574 GB, free: 5.172 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/1.232, allocations: 0.546 MB / 0.558 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/1.232, allocations: 39.58 kB / 0.558 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/1.232, allocations: 7.438 kB / 0.558 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/1.233, allocations: 3.938 kB / 0.558 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/1.233, allocations: 23.41 kB / 0.558 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.233, allocations: 8 kB / 0.558 GB, free: 4.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.814e-05/1.233, allocations: 156.3 kB / 0.5582 GB, free: 4.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.233, allocations: 0 / 0.5582 GB, free: 4.426 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00041/1.233, allocations: 197.8 kB / 0.5584 GB, free: 4.242 MB / 442.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.0004608/1.233, allocations: 307.9 kB / 0.5587 GB, free: 3.973 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/1.234, allocations: 0.515 MB / 0.5592 GB, free: 3.477 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.234, allocations: 0 / 0.5592 GB, free: 3.477 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/1.234, allocations: 460.8 kB / 0.5596 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/1.235, allocations: 208.9 kB / 0.5598 GB, free: 2.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/1.236, allocations: 0.9967 MB / 0.5608 GB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/1.237, allocations: 171.7 kB / 0.561 GB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003182/1.237, allocations: 215.2 kB / 0.5612 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/1.237, allocations: 48.5 kB / 0.5612 GB, free: 1.281 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/1.237, allocations: 4 kB / 0.5612 GB, free: 1.277 MB / 442.7 MB Notification: Performance of Templates: time 0.1077/1.345, allocations: 11.19 MB / 0.5721 GB, free: 197.6 MB / 442.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: 5.21143443020992]