Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.001367/0.001367, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001585/0.001585, allocations: 217.3 kB / 23.01 MB, free: 4.609 MB / 14.72 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01279/0.01279, allocations: 2.805 MB / 316 MB, free: 344 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 440 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.09064, allocations: 54.18 MB / 494.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2274/0.318, allocations: 51.31 MB / 0.5327 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02852/0.3465, allocations: 29.2 MB / 0.5612 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.347, allocations: 2.781 kB / 0.5612 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.3486, allocations: 0.6192 MB / 0.5618 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005937/0.3546, allocations: 2.252 MB / 0.564 GB, free: 2.48 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008289/0.3629, allocations: 2.93 MB / 0.5669 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3642, allocations: 0.9315 MB / 0.5678 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3644, allocations: 33.95 kB / 0.5678 GB, free: 15.43 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.4571/0.8214, allocations: 51.34 MB / 0.6179 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006853/0.8221, allocations: 306.6 kB / 0.6182 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.8222, allocations: 40 kB / 0.6183 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2315/1.054, allocations: 27.07 MB / 0.6447 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/1.054, allocations: 115.5 kB / 0.6448 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/1.054, allocations: 342.4 kB / 0.6451 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006125/1.061, allocations: 1.858 MB / 0.647 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.061, allocations: 0 / 0.647 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/1.061, allocations: 0 / 0.647 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/1.061, allocations: 4 kB / 0.647 GB, free: 15.19 MB / 494.1 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.00162/1.062, allocations: 1.049 MB / 0.648 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.062, allocations: 15.97 kB / 0.648 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/1.064, allocations: 0.4961 MB / 0.6485 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/1.066, allocations: 277.6 kB / 0.6487 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/1.066, allocations: 46.06 kB / 0.6488 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/1.066, allocations: 56 kB / 0.6488 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.068, allocations: 0.8843 MB / 0.6497 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.068, allocations: 4 kB / 0.6497 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/1.068, allocations: 24 kB / 0.6497 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/1.068, allocations: 31.98 kB / 0.6498 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.069, allocations: 0.7201 MB / 0.6505 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/1.074, allocations: 4.92 MB / 0.6553 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/1.075, allocations: 277.2 kB / 0.6555 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/1.075, allocations: 169.3 kB / 0.6557 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.076, allocations: 0.9276 MB / 0.6566 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.076, allocations: 34.5 kB / 0.6566 GB, free: 4.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.054e-06/1.076, allocations: 0 / 0.6566 GB, free: 4.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.002148/1.078, allocations: 0.628 MB / 0.6573 GB, free: 3.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.078, allocations: 89.05 kB / 0.6573 GB, free: 3.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/1.079, allocations: 170.1 kB / 0.6575 GB, free: 3.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/1.079, allocations: 29.7 kB / 0.6575 GB, free: 3.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/1.079, allocations: 284.5 kB / 0.6578 GB, free: 3.277 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/1.079, allocations: 253.7 kB / 0.658 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.079, allocations: 97.95 kB / 0.6581 GB, free: 2.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/1.079, allocations: 338.8 kB / 0.6585 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/1.08, allocations: 125.3 kB / 0.6586 GB, free: 2.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/1.08, allocations: 293.3 kB / 0.6589 GB, free: 2.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/1.081, allocations: 473.5 kB / 0.6593 GB, free: 1.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.081, allocations: 0 / 0.6593 GB, free: 1.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009202/1.082, allocations: 476.2 kB / 0.6598 GB, free: 1.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.082, allocations: 8 kB / 0.6598 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.082, allocations: 12.3 kB / 0.6598 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.082, allocations: 11.94 kB / 0.6598 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/1.082, allocations: 64.53 kB / 0.6599 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/1.082, allocations: 12 kB / 0.6599 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/1.082, allocations: 71.38 kB / 0.6599 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/1.082, allocations: 23.94 kB / 0.66 GB, free: 0.9023 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.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): 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.0002532/1.083, allocations: 193.7 kB / 0.6601 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/1.083, allocations: 31.77 kB / 0.6602 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/1.083, allocations: 33.89 kB / 0.6602 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.083, allocations: 7.984 kB / 0.6602 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.083, allocations: 4 kB / 0.6602 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.083, allocations: 0 / 0.6602 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/1.083, allocations: 464.1 kB / 0.6607 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.083, allocations: 0 / 0.6607 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/1.084, allocations: 35.92 kB / 0.6607 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.084, allocations: 4 kB / 0.6607 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.084, allocations: 11.94 kB / 0.6607 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.084, allocations: 0 / 0.6607 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.084, allocations: 0 / 0.6607 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/1.084, allocations: 0.5332 MB / 0.6612 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/1.084, allocations: 35.62 kB / 0.6613 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/1.084, allocations: 11.94 kB / 0.6613 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/1.085, allocations: 7.984 kB / 0.6613 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/1.085, allocations: 23.91 kB / 0.6613 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/1.085, allocations: 19.98 kB / 0.6613 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001013/1.085, allocations: 116.1 kB / 0.6614 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 0.6614 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006955/1.086, allocations: 199.4 kB / 0.6616 GB, free: 15.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0006259/1.086, allocations: 304.7 kB / 0.6619 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009592/1.087, allocations: 0.5642 MB / 0.6625 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.087, allocations: 0 / 0.6625 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/1.088, allocations: 476.3 kB / 0.6629 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.089, allocations: 195.2 kB / 0.6631 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/1.091, allocations: 1.128 MB / 0.6642 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/1.091, allocations: 0.9474 MB / 0.6651 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.091, allocations: 55.42 kB / 0.6652 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/1.091, allocations: 4 kB / 0.6652 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.01497/1.106, allocations: 9.039 MB / 0.674 GB, free: 2.289 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.91662313695997] Failed to read output from testmodel.py, exit status != 0: 1.1144235911779106 1.132139529 0.067993342 Calling exit ...