Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001522/0.001522, 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.001548/0.001548, 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.008656/0.008656, allocations: 1.993 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 332.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.876e-05, allocations: 2.312 kB / 332.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.03506/0.03509, allocations: 52.29 MB / 384.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1862/0.2213, allocations: 29.58 MB / 414.2 MB, free: 16.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/0.2219, allocations: 5.844 kB / 414.2 MB, free: 16.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.2234, allocations: 0.5104 MB / 414.8 MB, free: 16.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.2288, allocations: 2.276 MB / 417 MB, free: 15.98 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.2356, allocations: 2.99 MB / 420 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.2368, allocations: 0.9757 MB / 421 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2369, allocations: 33.69 kB / 421 MB, free: 14.93 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.718/0.9548, allocations: 85.62 MB / 0.4948 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007452/0.9556, allocations: 248.2 kB / 0.495 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.9557, allocations: 40 kB / 0.495 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1163/1.072, allocations: 44.13 MB / 0.5381 GB, free: 6.902 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/1.072, allocations: 110.3 kB / 0.5382 GB, free: 6.848 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004943/1.073, allocations: 233.3 kB / 0.5385 GB, free: 6.672 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008238/1.081, allocations: 1.611 MB / 0.54 GB, free: 5.566 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.081, allocations: 4 kB / 0.54 GB, free: 5.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/1.081, allocations: 0 / 0.54 GB, free: 5.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/1.081, allocations: 0 / 0.54 GB, free: 5.562 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.001383/1.082, allocations: 1.15 MB / 0.5412 GB, free: 4.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.082, allocations: 8.031 kB / 0.5412 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/1.084, allocations: 1.03 MB / 0.5422 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/1.085, allocations: 283.2 kB / 0.5425 GB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/1.085, allocations: 50.25 kB / 0.5425 GB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/1.085, allocations: 57.44 kB / 0.5426 GB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/1.086, allocations: 0.7693 MB / 0.5433 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.086, allocations: 0 / 0.5433 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/1.086, allocations: 31.06 kB / 0.5433 GB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/1.086, allocations: 33.48 kB / 0.5434 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/1.086, allocations: 351.1 kB / 0.5437 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.089, allocations: 3.267 MB / 0.5469 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/1.089, allocations: 223.8 kB / 0.5471 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/1.089, allocations: 112.9 kB / 0.5472 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008606/1.09, allocations: 1.037 MB / 0.5482 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.09, allocations: 39.11 kB / 0.5483 GB, free: 14.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 2.114e-06/1.09, allocations: 0 / 0.5483 GB, free: 14.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0009015/1.091, allocations: 0.5252 MB / 0.5488 GB, free: 13.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/1.091, allocations: 81.11 kB / 0.5489 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.091, allocations: 250.8 kB / 0.5491 GB, free: 13.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/1.091, allocations: 33.14 kB / 0.5491 GB, free: 13.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/1.091, allocations: 341.3 kB / 0.5495 GB, free: 13.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.091, allocations: 238.9 kB / 0.5497 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/1.091, allocations: 104.4 kB / 0.5498 GB, free: 12.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/1.092, allocations: 0.5149 MB / 0.5503 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/1.092, allocations: 64.3 kB / 0.5503 GB, free: 12.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.092, allocations: 320.2 kB / 0.5506 GB, free: 11.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/1.092, allocations: 441.5 kB / 0.5511 GB, free: 11.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/1.092, allocations: 0 / 0.5511 GB, free: 11.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004974/1.093, allocations: 435.8 kB / 0.5515 GB, free: 11.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.093, allocations: 8 kB / 0.5515 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.093, allocations: 4 kB / 0.5515 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.093, allocations: 8.719 kB / 0.5515 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/1.093, allocations: 81.16 kB / 0.5516 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005581/1.094, allocations: 1.802 MB / 0.5533 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/1.094, allocations: 56.89 kB / 0.5534 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/1.094, allocations: 23.38 kB / 0.5534 GB, free: 9.176 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.0001352/1.094, allocations: 190.2 kB / 0.5536 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/1.094, allocations: 30.81 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/1.094, allocations: 30.16 kB / 0.5537 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.094, allocations: 4.109 kB / 0.5537 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.094, allocations: 8 kB / 0.5537 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.094, allocations: 3.984 kB / 0.5537 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/1.094, allocations: 370.7 kB / 0.554 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.094, allocations: 0 / 0.554 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.094, allocations: 39.47 kB / 0.5541 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.094, allocations: 4 kB / 0.5541 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.094, allocations: 2.562 kB / 0.5541 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004753/1.095, allocations: 1.794 MB / 0.5558 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.095, allocations: 7.984 kB / 0.5558 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/1.095, allocations: 0.54 MB / 0.5564 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/1.095, allocations: 43.14 kB / 0.5564 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.095, allocations: 4 kB / 0.5564 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/1.095, allocations: 3.5 kB / 0.5564 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/1.095, allocations: 18.59 kB / 0.5564 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/1.095, allocations: 9.875 kB / 0.5564 GB, free: 6.152 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.769e-05/1.095, allocations: 154.2 kB / 0.5566 GB, free: 6.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/1.095, allocations: 0 / 0.5566 GB, free: 6.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000486/1.096, allocations: 195.4 kB / 0.5568 GB, free: 5.828 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.0005148/1.096, allocations: 307.3 kB / 0.5571 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005263/1.097, allocations: 0.5229 MB / 0.5576 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.097, allocations: 0 / 0.5576 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/1.097, allocations: 469.6 kB / 0.558 GB, free: 4.578 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/1.098, allocations: 200.4 kB / 0.5582 GB, free: 4.383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/1.099, allocations: 1.002 MB / 0.5592 GB, free: 3.355 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/1.099, allocations: 163.8 kB / 0.5593 GB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003176/1.1, allocations: 219.9 kB / 0.5596 GB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/1.1, allocations: 44.5 kB / 0.5596 GB, free: 2.914 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/1.1, allocations: 0 / 0.5596 GB, free: 2.914 MB / 442.7 MB Notification: Performance of Templates: time 0.1309/1.231, allocations: 11.15 MB / 0.5705 GB, free: 199 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.207953097997233]