Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.001848/0.001848, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002407/0.002407, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.789 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.01539/0.01539, allocations: 2.809 MB / 315.2 MB, free: 76 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [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.002361/0.002361, allocations: 67.91 kB / 439.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09374, allocations: 54.18 MB / 493.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02196/0.1157, allocations: 17.34 MB / 0.4987 GB, free: 5.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1961/0.3118, allocations: 5.265 MB / 0.5038 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.312, allocations: 0 / 0.5038 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.3127, allocations: 209.5 kB / 0.504 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.3157, allocations: 1.169 MB / 0.5052 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.316, allocations: 88.78 kB / 0.5053 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.3164, allocations: 309.7 kB / 0.5056 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.3165, allocations: 16.77 kB / 0.5056 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3167, allocations: 94.23 kB / 0.5057 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3169, allocations: 109.2 kB / 0.5058 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.317, allocations: 7.719 kB / 0.5058 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3405/0.6575, allocations: 38.67 MB / 0.5435 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.6576, allocations: 29.41 kB / 0.5436 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.6579, allocations: 111 kB / 0.5437 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.6599, allocations: 0.512 MB / 0.5442 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6599, allocations: 3.125 kB / 0.5442 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.6599, allocations: 0 / 0.5442 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.6599, allocations: 0 / 0.5442 GB, free: 1.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007006/0.6606, allocations: 0.4895 MB / 0.5447 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6606, allocations: 8.031 kB / 0.5447 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008133/0.6615, allocations: 207.6 kB / 0.5449 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6616, allocations: 134.7 kB / 0.545 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.6616, allocations: 16.44 kB / 0.545 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.6616, allocations: 26.03 kB / 0.545 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.6621, allocations: 348.6 kB / 0.5454 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6621, allocations: 0 / 0.5454 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.6621, allocations: 6.562 kB / 0.5454 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6621, allocations: 14.22 kB / 0.5454 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.6633, allocations: 276.7 kB / 0.5457 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.6645, allocations: 0.7904 MB / 0.5464 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.6646, allocations: 95.11 kB / 0.5465 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.6647, allocations: 77.33 kB / 0.5466 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.6653, allocations: 0.5045 MB / 0.5471 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6653, allocations: 38.56 kB / 0.5471 GB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.243e-06/0.6653, allocations: 0 / 0.5471 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003641/0.6657, allocations: 190.2 kB / 0.5473 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.6658, allocations: 84.2 kB / 0.5474 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.6659, allocations: 104.4 kB / 0.5475 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.6659, allocations: 25.7 kB / 0.5475 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.666, allocations: 164.6 kB / 0.5477 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.6661, allocations: 111.5 kB / 0.5478 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.6661, allocations: 37.48 kB / 0.5478 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6663, allocations: 326.8 kB / 0.5481 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.6664, allocations: 33.61 kB / 0.5481 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.6665, allocations: 82.8 kB / 0.5482 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.6666, allocations: 140.9 kB / 0.5484 GB, free: 14.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6666, allocations: 4 kB / 0.5484 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002264/0.6669, allocations: 151.2 kB / 0.5485 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6669, allocations: 7.984 kB / 0.5485 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.6669, allocations: 4.188 kB / 0.5485 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6669, allocations: 7 kB / 0.5485 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.667, allocations: 12 kB / 0.5485 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.667, allocations: 4 kB / 0.5485 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.667, allocations: 22.78 kB / 0.5486 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6671, allocations: 4 kB / 0.5486 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001194/0.6672, allocations: 132.9 kB / 0.5487 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.6672, allocations: 11.91 kB / 0.5487 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.6673, allocations: 14.83 kB / 0.5487 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6673, allocations: 3.984 kB / 0.5487 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6673, allocations: 4 kB / 0.5487 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6673, allocations: 4 kB / 0.5487 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.6676, allocations: 187.8 kB / 0.5489 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6676, allocations: 0 / 0.5489 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.6676, allocations: 4 kB / 0.5489 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6676, allocations: 0 / 0.5489 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.6676, allocations: 4 kB / 0.5489 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6676, allocations: 3.984 kB / 0.5489 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6676, allocations: 0 / 0.5489 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.6688, allocations: 314.8 kB / 0.5492 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.6689, allocations: 23.27 kB / 0.5492 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.6689, allocations: 4 kB / 0.5492 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.669, allocations: 0 / 0.5492 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.669, allocations: 7.984 kB / 0.5493 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.669, allocations: 4 kB / 0.5493 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.6691, allocations: 82.72 kB / 0.5493 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6691, allocations: 0 / 0.5493 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004101/0.6695, allocations: 83.72 kB / 0.5494 GB, free: 13.19 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004041/0.6699, allocations: 194.1 kB / 0.5496 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.6702, allocations: 214.1 kB / 0.5498 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6702, allocations: 0 / 0.5498 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.6704, allocations: 181.1 kB / 0.55 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.6711, allocations: 88.8 kB / 0.5501 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.6719, allocations: 0.5143 MB / 0.5506 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.6721, allocations: 195 kB / 0.5508 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.6722, allocations: 21.14 kB / 0.5508 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.6722, allocations: 23.44 kB / 0.5508 GB, free: 11.83 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6722, allocations: 0 / 0.5508 GB, free: 11.83 MB / 398.1 MB Notification: Performance of Templates: time 0.0113/0.6835, allocations: 5.21 MB / 0.5559 GB, free: 6.715 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.318296207115054] Failed to read output from testmodel.py, exit status != 0: 0.6922774277627468 0.710562651 0.047063214000000006 Calling exit ...