Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.001034/0.001034, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009748/0.0009748, 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.9636/0.9636, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.008259/0.008259, allocations: 1.989 MB / 262.3 MB, free: 11.13 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 332.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.139e-05/4.419e-05, allocations: 9.125 kB / 332.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.03499/0.03503, allocations: 52.23 MB / 384.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1703/0.2054, allocations: 29.58 MB / 414.2 MB, free: 16.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006058/0.206, allocations: 6.656 kB / 414.2 MB, free: 16.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.2074, allocations: 0.5074 MB / 414.7 MB, free: 16.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.2125, allocations: 2.277 MB / 417 MB, free: 15.94 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006595/0.2191, allocations: 2.987 MB / 420 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008536/0.2199, allocations: 0.9702 MB / 420.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.22, allocations: 22.86 kB / 421 MB, free: 14.89 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.8577/1.078, allocations: 86.73 MB / 0.4958 GB, free: 184 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/1.078, allocations: 247.1 kB / 0.496 GB, free: 15.99 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.83e-05/1.078, allocations: 36 kB / 0.4961 GB, free: 15.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.146/1.224, allocations: 44.67 MB / 0.5397 GB, free: 5.336 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/1.225, allocations: 115.7 kB / 0.5398 GB, free: 5.273 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004279/1.225, allocations: 228.8 kB / 0.54 GB, free: 5.102 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.229, allocations: 1.617 MB / 0.5416 GB, free: 3.996 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.229, allocations: 0 / 0.5416 GB, free: 3.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/1.229, allocations: 0 / 0.5416 GB, free: 3.996 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/1.229, allocations: 0 / 0.5416 GB, free: 3.996 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.0009794/1.23, allocations: 1.14 MB / 0.5427 GB, free: 2.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/1.23, allocations: 12.03 kB / 0.5427 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.232, allocations: 1.035 MB / 0.5437 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/1.232, allocations: 276.1 kB / 0.544 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/1.232, allocations: 50.94 kB / 0.544 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/1.232, allocations: 59.48 kB / 0.5441 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008069/1.233, allocations: 0.7631 MB / 0.5448 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/1.233, allocations: 3.281 kB / 0.5448 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/1.233, allocations: 31.12 kB / 0.5449 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/1.233, allocations: 34.48 kB / 0.5449 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/1.233, allocations: 358.1 kB / 0.5452 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/1.235, allocations: 3.247 MB / 0.5484 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/1.236, allocations: 231.2 kB / 0.5486 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/1.236, allocations: 105.7 kB / 0.5487 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/1.236, allocations: 1.032 MB / 0.5497 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/1.236, allocations: 40.64 kB / 0.5498 GB, free: 12.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.754e-06/1.236, allocations: 0 / 0.5498 GB, free: 12.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008098/1.237, allocations: 0.5275 MB / 0.5503 GB, free: 12.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/1.237, allocations: 80.2 kB / 0.5504 GB, free: 12.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.237, allocations: 251.2 kB / 0.5506 GB, free: 12.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.237, allocations: 29.7 kB / 0.5506 GB, free: 11.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/1.238, allocations: 341.2 kB / 0.551 GB, free: 11.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/1.238, allocations: 238.9 kB / 0.5512 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/1.238, allocations: 109 kB / 0.5513 GB, free: 11.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/1.238, allocations: 0.5128 MB / 0.5518 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/1.238, allocations: 65.8 kB / 0.5519 GB, free: 10.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/1.238, allocations: 327.8 kB / 0.5522 GB, free: 10.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/1.238, allocations: 439.2 kB / 0.5526 GB, free: 9.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.238, allocations: 4 kB / 0.5526 GB, free: 9.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003797/1.239, allocations: 422.9 kB / 0.553 GB, free: 9.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.239, allocations: 8 kB / 0.553 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.239, allocations: 8 kB / 0.553 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.239, allocations: 4 kB / 0.553 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.239, allocations: 76.5 kB / 0.5531 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/1.239, allocations: 12.12 kB / 0.5531 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/1.239, allocations: 62.89 kB / 0.5532 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/1.239, allocations: 19.31 kB / 0.5532 GB, free: 9.453 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): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.239, allocations: 178.8 kB / 0.5534 GB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/1.239, allocations: 46.7 kB / 0.5534 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/1.239, allocations: 28.52 kB / 0.5534 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.239, allocations: 4 kB / 0.5534 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.239, allocations: 0 / 0.5534 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.239, allocations: 3.938 kB / 0.5534 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/1.24, allocations: 360.2 kB / 0.5538 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.24, allocations: 0 / 0.5538 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/1.24, allocations: 27.98 kB / 0.5538 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.24, allocations: 0 / 0.5538 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.24, allocations: 6.375 kB / 0.5538 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.24, allocations: 11.94 kB / 0.5538 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.24, allocations: 0 / 0.5538 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/1.24, allocations: 0.5492 MB / 0.5544 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/1.24, allocations: 43.58 kB / 0.5544 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/1.24, allocations: 3.5 kB / 0.5544 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/1.24, allocations: 7.984 kB / 0.5544 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/1.24, allocations: 15.48 kB / 0.5544 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.24, allocations: 4 kB / 0.5544 GB, free: 8.285 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/1.24, allocations: 158 kB / 0.5546 GB, free: 8.137 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.24, allocations: 0 / 0.5546 GB, free: 8.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003565/1.241, allocations: 199.7 kB / 0.5548 GB, free: 7.953 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/1.241, allocations: 307.8 kB / 0.5551 GB, free: 7.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003891/1.241, allocations: 0.5051 MB / 0.5556 GB, free: 7.227 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.241, allocations: 0 / 0.5556 GB, free: 7.227 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/1.242, allocations: 439 kB / 0.556 GB, free: 6.727 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/1.242, allocations: 200.8 kB / 0.5562 GB, free: 6.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.243, allocations: 0.9817 MB / 0.5571 GB, free: 5.523 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/1.243, allocations: 159.7 kB / 0.5573 GB, free: 5.344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000318/1.244, allocations: 257.2 kB / 0.5575 GB, free: 5.094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/1.244, allocations: 56.5 kB / 0.5576 GB, free: 5.039 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/1.244, allocations: 0 / 0.5576 GB, free: 5.039 MB / 442.7 MB Notification: Performance of Templates: time 0.108/1.352, allocations: 10.73 MB / 0.5681 GB, free: 200.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.882509818999097]