Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 191.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.01319/0.01319, allocations: 2.804 MB / 308.9 MB, free: 5.957 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 430.4 MB, free: 20.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09808, allocations: 52.95 MB / 483.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02207/0.1201, allocations: 19.31 MB / 0.4909 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006101/0.1263, allocations: 6.103 MB / 0.4969 GB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1264, allocations: 4 kB / 0.4969 GB, free: 5.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005969/0.127, allocations: 254.5 kB / 0.4971 GB, free: 5.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.1298, allocations: 1.214 MB / 0.4983 GB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1301, allocations: 83.36 kB / 0.4984 GB, free: 4.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.1304, allocations: 313.6 kB / 0.4987 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.1305, allocations: 16.73 kB / 0.4987 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1306, allocations: 91.48 kB / 0.4988 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1308, allocations: 111.4 kB / 0.4989 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1308, allocations: 8 kB / 0.4989 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8285/0.9593, allocations: 39.12 MB / 0.5371 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.9593, allocations: 38.25 kB / 0.5372 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.9596, allocations: 120.9 kB / 0.5373 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.9616, allocations: 0.5161 MB / 0.5378 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9616, allocations: 4 kB / 0.5378 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.9616, allocations: 0 / 0.5378 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.9616, allocations: 0 / 0.5378 GB, free: 11.81 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.0007406/0.9623, allocations: 0.5742 MB / 0.5383 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.9624, allocations: 8.031 kB / 0.5383 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007387/0.9631, allocations: 204.4 kB / 0.5385 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.9633, allocations: 186 kB / 0.5387 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.9633, allocations: 20.19 kB / 0.5387 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.9633, allocations: 22 kB / 0.5388 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.9638, allocations: 346 kB / 0.5391 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9638, allocations: 4 kB / 0.5391 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.9638, allocations: 10.06 kB / 0.5391 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.9638, allocations: 15.5 kB / 0.5391 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.9641, allocations: 255.7 kB / 0.5394 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.966, allocations: 2.118 MB / 0.5414 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.9662, allocations: 101.2 kB / 0.5415 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.9663, allocations: 72 kB / 0.5416 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/0.9671, allocations: 0.697 MB / 0.5423 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.9671, allocations: 41.44 kB / 0.5423 GB, free: 7.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.9671, allocations: 4 kB / 0.5423 GB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003588/0.9675, allocations: 185.2 kB / 0.5425 GB, free: 7.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.9675, allocations: 85.05 kB / 0.5426 GB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/0.9676, allocations: 105.6 kB / 0.5427 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.9676, allocations: 25.7 kB / 0.5427 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9677, allocations: 160.2 kB / 0.5429 GB, free: 7.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.9678, allocations: 109.3 kB / 0.543 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.9679, allocations: 33.39 kB / 0.543 GB, free: 6.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.968, allocations: 330.6 kB / 0.5433 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.9681, allocations: 39.11 kB / 0.5433 GB, free: 6.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.9682, allocations: 81.27 kB / 0.5434 GB, free: 6.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.9684, allocations: 142.2 kB / 0.5436 GB, free: 6.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.9684, allocations: 4 kB / 0.5436 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002161/0.9686, allocations: 157 kB / 0.5437 GB, free: 6.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9686, allocations: 4 kB / 0.5437 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9686, allocations: 4 kB / 0.5437 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.9686, allocations: 0 / 0.5437 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.9687, allocations: 16.17 kB / 0.5437 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9687, allocations: 7.094 kB / 0.5437 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.9688, allocations: 27.59 kB / 0.5438 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.9688, allocations: 4 kB / 0.5438 GB, free: 6.227 MB / 382.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.0001112/0.9689, allocations: 133.2 kB / 0.5439 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.969, allocations: 7.953 kB / 0.5439 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.969, allocations: 8.25 kB / 0.5439 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.969, allocations: 3.984 kB / 0.5439 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.969, allocations: 4 kB / 0.5439 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.969, allocations: 0 / 0.5439 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.9693, allocations: 279.9 kB / 0.5442 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9693, allocations: 4 kB / 0.5442 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.9694, allocations: 4.719 kB / 0.5442 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.9694, allocations: 4 kB / 0.5442 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.9694, allocations: 4 kB / 0.5442 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9694, allocations: 0 / 0.5442 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9694, allocations: 0 / 0.5442 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.9709, allocations: 318.5 kB / 0.5445 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.971, allocations: 92.95 kB / 0.5446 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.971, allocations: 7.984 kB / 0.5446 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.9711, allocations: 0 / 0.5446 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.9711, allocations: 10.91 kB / 0.5446 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.9711, allocations: 0 / 0.5446 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.108e-05/0.9712, allocations: 79.28 kB / 0.5447 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9712, allocations: 0 / 0.5447 GB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.9716, allocations: 91.59 kB / 0.5448 GB, free: 5.219 MB / 382.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.0004462/0.9721, allocations: 192.9 kB / 0.545 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.9724, allocations: 205.2 kB / 0.5452 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9724, allocations: 0 / 0.5452 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.9726, allocations: 181.1 kB / 0.5453 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.9733, allocations: 79.78 kB / 0.5454 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.9741, allocations: 0.5232 MB / 0.5459 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.9746, allocations: 0.7917 MB / 0.5467 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.9747, allocations: 33.17 kB / 0.5467 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.9747, allocations: 23.44 kB / 0.5467 GB, free: 3.258 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.9747, allocations: 0 / 0.5467 GB, free: 3.258 MB / 382.1 MB Notification: Performance of Templates: time 0.01089/0.9856, allocations: 5.025 MB / 0.5517 GB, free: 14.32 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.807737379334867] Failed to read output from testmodel.py, exit status != 0: 0.9928722591139376 1.009703622 0.044763003 Calling exit ...