Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.001755/0.001755, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002104/0.002104, allocations: 204.8 kB / 24.49 MB, free: 3.961 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.619/1.619, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2654/0.2654, allocations: 46.96 MB / 361.6 MB, free: 4.117 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.773e-05, allocations: 4.953 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 1.021/1.021, allocations: 280.2 MB / 0.771 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0213/1.043, allocations: 15.6 MB / 0.7862 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/1.045, allocations: 81.78 kB / 0.7863 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/1.048, allocations: 1.024 MB / 0.7873 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01703/1.065, allocations: 6.249 MB / 0.7934 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02209/1.088, allocations: 8.807 MB / 0.802 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01193/1.1, allocations: 8.282 MB / 0.8101 GB, free: 464 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005234/1.105, allocations: 2.14 MB / 0.8122 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01758/1.122, allocations: 7.309 MB / 0.8193 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006103/1.128, allocations: 2.658 MB / 0.8219 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.13, allocations: 261.7 kB / 0.8221 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03005/1.16, allocations: 12.83 MB / 0.8347 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.009898/1.169, allocations: 6.085 MB / 0.8406 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.004663/1.174, allocations: 3.428 MB / 0.844 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/1.176, allocations: 240 kB / 0.8442 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0005231/1.176, allocations: 85.44 kB / 0.8443 GB, free: 1.219 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 (408) * Number of variables: 480 (410) Notification: Performance of [SIM] Bindings: time 0.02247/1.199, allocations: 14.29 MB / 0.8582 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.004262/1.203, allocations: 2.21 MB / 0.8604 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.01624/1.219, allocations: 10.21 MB / 0.8704 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.004405/1.224, allocations: 1.777 MB / 0.8721 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.01493/1.239, allocations: 7.214 MB / 0.8791 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.003796/1.243, allocations: 1.725 MB / 0.8808 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.002143/1.245, allocations: 0.9739 MB / 0.8818 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.003462/1.248, allocations: 1.87 MB / 0.8836 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.001544/1.25, allocations: 0.8082 MB / 0.8844 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.005104/1.255, allocations: 3.651 MB / 0.8879 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.01749/1.272, allocations: 8.955 MB / 0.8967 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01399/1.286, allocations: 7.455 MB / 0.904 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of [INI] Simplify: time 0.01085/1.297, allocations: 3.704 MB / 0.9076 GB, free: 480 kB / 0.6231 GB Notification: Performance of [INI] Inline: time 0.02548/1.323, allocations: 13.02 MB / 0.9203 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of [INI] Partitioning: time 0.0009823/1.324, allocations: 139.3 kB / 0.9204 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of [INI] Cleanup: time 0.007236/1.331, allocations: 2.419 MB / 0.9228 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of [INI] Causalize: time 0.05602/1.387, allocations: 21.47 MB / 0.9438 GB, free: 11.56 MB / 0.67 GB Error: Internal error Trying to construct residual expression of type pipe2.flowModel.Medium.ThermodynamicState for equation [RECD] (4) pipe2.flowModel.states[1] = ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe2.Medium.ThermodynamicState(pipe2.port_a.p, Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe2.Medium.T_phX.f_nonlinear(p = BOX(pipe2.port_a.p), h = BOX(boundary2.ports[1].h_outflow), X = BOX({boundary2.ports[1].Xi_outflow[1]})), 190.0, 647.0, 2.220446049250313e-14), {boundary2.ports[1].Xi_outflow[1], 1.0 - sum({boundary2.ports[1].Xi_outflow[1]})}) ($RES_SIM_597) but operator '+' is not defined. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.489398723002523] Failed to read output from testmodel.py, exit status != 0: ['time', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'boundary.ports[1].Xi_outflow[1]', 'boundary.ports[1].C_outflow[1]', 'boundary1.ports[1].m_flow', 'boundary1.ports[1].p', 'boundary1.ports[1].h_outflow', 'boundary1.ports[1].Xi_outflow[1]', 'boundary1.ports[1].C_outflow[1]', 'boundary2.ports[1].m_flow', 'boundary2.ports[1].p', 'boundary2.ports[1].h_outflow', 'boundary2.ports[1].Xi_outflow[1]', 'boundary2.ports[1].C_outflow[1]', 'boundary3.ports[1].m_flow', 'boundary3.ports[1].p', 'boundary3.ports[1].h_outflow', 'boundary3.ports[1].Xi_outflow[1]', 'boundary3.ports[1].C_outflow[1]', 'boundary4.ports[1].m_flow', 'boundary4.ports[1].p', 'boundary4.ports[1].h_outflow', 'boundary4.ports[1].Xi_outflow[1]', 'boundary4.ports[1].C_outflow[1]', 'boundary5.ports[1].m_flow', 'boundary5.ports[1].p', 'boundary5.ports[1].h_outflow', 'boundary5.ports[1].Xi_outflow[1]', 'boundary5.ports[1].C_outflow[1]', 'boundary6.ports[1].m_flow', 'boundary6.ports[1].p', 'boundary6.ports[1].h_outflow', 'boundary6.ports[1].Xi_outflow[1]', 'boundary6.ports[1].C_outflow[1]', 'boundary6.ports[2].m_flow', 'boundary6.ports[2].p', 'boundary6.ports[2].h_outflow', 'boundary6.ports[2].Xi_outflow[1]', 'boundary6.ports[2].C_outflow[1]', 'pipe.port_b.m_flow', 'pipe.port_b.p', 'pipe.port_b.h_outflow', 'pipe1.port_b.m_flow', 'pipe1.port_b.p', 'pipe1.port_b.h_outflow', 'pipe2.port_b.m_flow', 'pipe2.port_b.p', 'pipe2.port_b.h_outflow', 'pipe3.port_b.m_flow', 'pipe3.port_b.p', 'pipe3.port_b.h_outflow', 'C.y', 'P.y', 'traceSubstance1.port_b.m_flow', 'traceSubstance1.port_b.p', 'traceSubstance1.port_b.h_outflow'] 1.3978122272528708 1.413111633 0.23329086100000002 Calling exit ...