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.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.001335/0.001335, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001511/0.001511, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.988 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.01359/0.01359, allocations: 2.806 MB / 315.2 MB, free: 312 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [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.001959/0.001959, allocations: 67.89 kB / 438.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 54.18 MB / 492.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02306/0.1303, allocations: 19.39 MB / 0.5003 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2312/0.3615, allocations: 6.083 MB / 0.5062 GB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.3618, allocations: 0.875 kB / 0.5062 GB, free: 4.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.3625, allocations: 258.7 kB / 0.5065 GB, free: 4.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.3663, allocations: 1.209 MB / 0.5076 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3666, allocations: 79.36 kB / 0.5077 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.3671, allocations: 311.4 kB / 0.508 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.3672, allocations: 13.66 kB / 0.508 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3673, allocations: 94.89 kB / 0.5081 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.3675, allocations: 117.4 kB / 0.5082 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3675, allocations: 7.719 kB / 0.5082 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.595/0.9625, allocations: 39.17 MB / 0.5465 GB, free: 88 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.9626, allocations: 27.56 kB / 0.5465 GB, free: 76 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.9631, allocations: 135.5 kB / 0.5466 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.966, allocations: 0.5107 MB / 0.5471 GB, free: 15.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.966, allocations: 4 kB / 0.5471 GB, free: 15.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.966, allocations: 0 / 0.5471 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.966, allocations: 3.281 kB / 0.5472 GB, free: 15.64 MB / 398.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.0008403/0.9669, allocations: 0.4987 MB / 0.5476 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9669, allocations: 12.03 kB / 0.5476 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.262e-05/0.967, allocations: 65.91 kB / 0.5477 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.9679, allocations: 205.9 kB / 0.5479 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.9681, allocations: 131.4 kB / 0.548 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.9681, allocations: 17.38 kB / 0.5481 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.9682, allocations: 31 kB / 0.5481 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.9688, allocations: 344.1 kB / 0.5484 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.9688, allocations: 3.938 kB / 0.5484 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.9688, allocations: 5.125 kB / 0.5484 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.9688, allocations: 14.73 kB / 0.5484 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.9693, allocations: 279.7 kB / 0.5487 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.9718, allocations: 2.095 MB / 0.5507 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.972, allocations: 99.19 kB / 0.5508 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.9722, allocations: 73.81 kB / 0.5509 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008049/0.973, allocations: 0.5099 MB / 0.5514 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.973, allocations: 39.81 kB / 0.5514 GB, free: 11.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/0.973, allocations: 0 / 0.5514 GB, free: 11.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004864/0.9735, allocations: 181.9 kB / 0.5516 GB, free: 11.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.9736, allocations: 82.8 kB / 0.5517 GB, free: 11.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.9737, allocations: 105.4 kB / 0.5518 GB, free: 11.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.9737, allocations: 25.7 kB / 0.5518 GB, free: 11.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.9739, allocations: 156.9 kB / 0.552 GB, free: 10.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007156/0.9746, allocations: 116 kB / 0.5521 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.9747, allocations: 44.09 kB / 0.5521 GB, free: 10.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9749, allocations: 326.3 kB / 0.5524 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.9749, allocations: 33.62 kB / 0.5525 GB, free: 10.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.9751, allocations: 82.31 kB / 0.5525 GB, free: 10.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.9753, allocations: 141.8 kB / 0.5527 GB, free: 10.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9753, allocations: 4 kB / 0.5527 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002856/0.9756, allocations: 148 kB / 0.5528 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.9756, allocations: 8 kB / 0.5528 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.9756, allocations: 0 / 0.5528 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.9756, allocations: 4.188 kB / 0.5528 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.9757, allocations: 15.56 kB / 0.5529 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.9757, allocations: 3.938 kB / 0.5529 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-05/0.9758, allocations: 23.77 kB / 0.5529 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.9758, allocations: 4 kB / 0.5529 GB, free: 10.07 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.0001638/0.976, allocations: 132.3 kB / 0.553 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.9761, allocations: 7.953 kB / 0.553 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.9761, allocations: 7.594 kB / 0.553 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.9761, allocations: 0 / 0.553 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.9761, allocations: 12 kB / 0.553 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9761, allocations: 0 / 0.553 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.9766, allocations: 257.6 kB / 0.5533 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9766, allocations: 0 / 0.5533 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.9766, allocations: 6.25 kB / 0.5533 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9766, allocations: 0 / 0.5533 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9766, allocations: 0 / 0.5533 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9766, allocations: 0 / 0.5533 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9766, allocations: 15.86 kB / 0.5533 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.979, allocations: 312.8 kB / 0.5536 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.9791, allocations: 20.08 kB / 0.5536 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.9791, allocations: 0 / 0.5536 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.9792, allocations: 3.562 kB / 0.5536 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.9792, allocations: 11.97 kB / 0.5536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.9792, allocations: 0 / 0.5536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.926e-05/0.9793, allocations: 83.22 kB / 0.5537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9793, allocations: 0 / 0.5537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.9799, allocations: 89.97 kB / 0.5538 GB, free: 9.168 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.001075/0.9809, allocations: 0.934 MB / 0.5547 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.9814, allocations: 217.6 kB / 0.5549 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9814, allocations: 0 / 0.5549 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.9816, allocations: 185.2 kB / 0.5551 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.9823, allocations: 91.7 kB / 0.5552 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.9835, allocations: 0.5878 MB / 0.5558 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.984, allocations: 0.7956 MB / 0.5565 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.9841, allocations: 25.12 kB / 0.5566 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.9843, allocations: 119.4 kB / 0.5567 GB, free: 6.141 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.9843, allocations: 0 / 0.5567 GB, free: 6.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/1.026, allocations: 8.788 MB / 0.5653 GB, free: 13.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.43, allocations: 3.938 kB / 0.5653 GB, free: 13.43 MB / 414.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.703615838996484] Failed to read output from testmodel.py, exit status != 0: 12.763024115003645 12.780438418 11.810998196 Calling exit ...