Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.001329/0.001329, allocations: 112.6 kB / 21.86 MB, free: 64 kB / 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.001314/0.001314, allocations: 187.3 kB / 25.12 MB, free: 3.605 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.195/1.195, allocations: 225.6 MB / 253.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1768/0.1768, allocations: 44.92 MB / 354 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.401e-05, allocations: 4.953 kB / 498 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.3278/0.3278, allocations: 196.5 MB / 0.6782 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.3441, allocations: 14.54 MB / 0.6925 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.3445, allocations: 51.56 kB / 0.6925 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3457, allocations: 0.5669 MB / 0.6931 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006006/0.3517, allocations: 3.435 MB / 0.6964 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006672/0.3584, allocations: 3.919 MB / 0.7002 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004407/0.3628, allocations: 4.81 MB / 0.7049 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.3648, allocations: 1.733 MB / 0.7066 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.3677, allocations: 2.447 MB / 0.709 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.3724, allocations: 3.652 MB / 0.7126 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.3727, allocations: 184 kB / 0.7128 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/0.3782, allocations: 3.995 MB / 0.7167 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.1969/0.575, allocations: 4.578 MB / 0.7211 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.001692/0.5767, allocations: 1.822 MB / 0.7229 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000937/0.5777, allocations: 202.1 kB / 0.7231 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002163/0.5779, allocations: 42.92 kB / 0.7231 GB, free: 14.7 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 (161) * Number of variables: 334 (167) Notification: Performance of Bindings: time 0.007257/0.5851, allocations: 8.154 MB / 0.7311 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.001472/0.5866, allocations: 1.815 MB / 0.7329 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.007149/0.5938, allocations: 10.49 MB / 0.7431 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of Simplify 1: time 0.000901/0.5947, allocations: 0.8034 MB / 0.7439 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of Alias: time 0.004092/0.5987, allocations: 4.98 MB / 0.7488 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of Simplify 2: time 0.0006905/0.5994, allocations: 0.7283 MB / 0.7495 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Remove Stream: time 0.0008328/0.6003, allocations: 1.236 MB / 0.7507 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of Detect States: time 0.000927/0.6012, allocations: 1.476 MB / 0.7521 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of Events: time 0.0004716/0.6017, allocations: 0.5119 MB / 0.7526 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.001431/0.6031, allocations: 2.056 MB / 0.7546 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of Causalize: time 0.008526/0.6116, allocations: 9.808 MB / 0.7642 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.003238/0.6149, allocations: 5.685 MB / 0.7698 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of Simplify: time 0.00181/0.6167, allocations: 1.924 MB / 0.7716 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of Inline: time 0.005628/0.6223, allocations: 10.85 MB / 0.7822 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0001169/0.6224, allocations: 83.34 kB / 0.7823 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.001093/0.6235, allocations: 1.944 MB / 0.7842 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of Causalize: time 0.02396/0.6475, allocations: 23.23 MB / 0.8069 GB, free: 1.371 MB / 0.545 GB Error: Internal error Trying to construct residual expression of type pipeFriction2.flowModel.Medium.ThermodynamicState for equation [RECD] (8) pipeFriction2.flowModel.states[1] = ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipeFriction2.Medium.ThermodynamicState(pipeFriction2.port_a.p, Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipeFriction2.Medium.T_hX.f_nonlinear(h = BOX((pipeFriction1.port_b.h_outflow * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.h_outflow * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7))), X = BOX({(max(pipeFriction3.port_b.m_flow, 1e-7) * pipeFriction3.port_a.Xi_outflow[1] + max(-pipeFriction1.port_b.m_flow, 1e-7) * pipeFriction1.port_b.Xi_outflow[1]) / (max(pipeFriction3.port_b.m_flow, 1e-7) + max(-pipeFriction1.port_b.m_flow, 1e-7)), (max(pipeFriction3.port_b.m_flow, 1e-7) * pipeFriction3.port_a.Xi_outflow[2] + max(-pipeFriction1.port_b.m_flow, 1e-7) * pipeFriction1.port_b.Xi_outflow[2]) / (max(pipeFriction3.port_b.m_flow, 1e-7) + max(-pipeFriction1.port_b.m_flow, 1e-7)), (max(pipeFriction3.port_b.m_flow, 1e-7) * pipeFriction3.port_a.Xi_outflow[3] + max(-pipeFriction1.port_b.m_flow, 1e-7) * pipeFriction1.port_b.Xi_outflow[3]) / (max(pipeFriction3.port_b.m_flow, 1e-7) + max(-pipeFriction1.port_b.m_flow, 1e-7)), (max(pipeFriction3.port_b.m_flow, 1e-7) * pipeFriction3.port_a.Xi_outflow[4] + max(-pipeFriction1.port_b.m_flow, 1e-7) * pipeFriction1.port_b.Xi_outflow[4]) / (max(pipeFriction3.port_b.m_flow, 1e-7) + max(-pipeFriction1.port_b.m_flow, 1e-7)), (max(pipeFriction3.port_b.m_flow, 1e-7) * pipeFriction3.port_a.Xi_outflow[5] + max(-pipeFriction1.port_b.m_flow, 1e-7) * pipeFriction1.port_b.Xi_outflow[5]) / (max(pipeFriction3.port_b.m_flow, 1e-7) + max(-pipeFriction1.port_b.m_flow, 1e-7)), (max(pipeFriction3.port_b.m_flow, 1e-7) * pipeFriction3.port_a.Xi_outflow[6] + max(-pipeFriction1.port_b.m_flow, 1e-7) * pipeFriction1.port_b.Xi_outflow[6]) / (max(pipeFriction3.port_b.m_flow, 1e-7) + max(-pipeFriction1.port_b.m_flow, 1e-7))}), exclEnthForm = BOX(true), refChoice = BOX(Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K), h_off = BOX(0.0)), 200.0, 6000.0, 1e-13), {(pipeFriction1.port_b.Xi_outflow[1] * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.Xi_outflow[1] * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7)), (pipeFriction1.port_b.Xi_outflow[2] * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.Xi_outflow[2] * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7)), (pipeFriction1.port_b.Xi_outflow[3] * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.Xi_outflow[3] * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7)), (pipeFriction1.port_b.Xi_outflow[4] * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.Xi_outflow[4] * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7)), (pipeFriction1.port_b.Xi_outflow[5] * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.Xi_outflow[5] * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7)), (pipeFriction1.port_b.Xi_outflow[6] * max(-pipeFriction1.port_b.m_flow, 1e-7) + pipeFriction3.port_a.Xi_outflow[6] * max(pipeFriction3.port_b.m_flow, 1e-7)) / (max(-pipeFriction1.port_b.m_flow, 1e-7) + max(pipeFriction3.port_b.m_flow, 1e-7))}) ($RES_SIM_307) but operator '+' is not defined. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.833292232826352] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipeFriction1.port_b.m_flow', 'pipeFriction1.port_b.p', 'pipeFriction1.port_b.h_outflow', 'pipeFriction2.port_b.m_flow', 'pipeFriction2.port_b.p', 'pipeFriction2.port_b.h_outflow', 'pipeFriction3.port_b.m_flow', 'pipeFriction3.port_b.p', 'pipeFriction3.port_b.h_outflow', 'boundary1.ports[1].m_flow', 'boundary1.ports[1].p', 'boundary1.ports[1].h_outflow', 'boundary1.ports[1].Xi_outflow[1]', 'boundary1.ports[1].Xi_outflow[2]', 'boundary1.ports[1].Xi_outflow[3]', 'boundary1.ports[1].Xi_outflow[4]', 'boundary1.ports[1].Xi_outflow[5]', 'boundary1.ports[1].Xi_outflow[6]', 'boundary2.ports[1].m_flow', 'boundary2.ports[1].p', 'boundary2.ports[1].h_outflow', 'boundary2.ports[1].Xi_outflow[1]', 'boundary2.ports[1].Xi_outflow[2]', 'boundary2.ports[1].Xi_outflow[3]', 'boundary2.ports[1].Xi_outflow[4]', 'boundary2.ports[1].Xi_outflow[5]', 'boundary2.ports[1].Xi_outflow[6]', 'boundary3.ports[1].m_flow', 'boundary3.ports[1].p', 'boundary3.ports[1].h_outflow', 'boundary3.ports[1].Xi_outflow[1]', 'boundary3.ports[1].Xi_outflow[2]', 'boundary3.ports[1].Xi_outflow[3]', 'boundary3.ports[1].Xi_outflow[4]', 'boundary3.ports[1].Xi_outflow[5]', 'boundary3.ports[1].Xi_outflow[6]', 'sine1.y', 'sine2.y', 'sine3.y'] 0.6568155260756612 0.669630878 0.089057384 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f19c708d780>