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.001744/0.001744, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001943/0.001943, allocations: 212 kB / 24.55 MB, free: 3.824 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.505/1.505, allocations: 230.7 MB / 258.3 MB, free: 7.727 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.2303/0.2303, allocations: 46.96 MB / 361.7 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] 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.042e-05/2.042e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.9275/0.9275, allocations: 280.3 MB / 0.7711 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.9491, allocations: 15.61 MB / 0.7863 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.9514, allocations: 78.75 kB / 0.7864 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.9554, allocations: 1.02 MB / 0.7874 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01781/0.9732, allocations: 6.247 MB / 0.7935 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02567/0.9989, allocations: 8.767 MB / 0.8021 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01157/1.01, allocations: 8.202 MB / 0.8101 GB, free: 472 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/1.017, allocations: 2.126 MB / 0.8122 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01932/1.036, allocations: 7.327 MB / 0.8193 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00616/1.042, allocations: 2.565 MB / 0.8218 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001319/1.043, allocations: 265.4 kB / 0.8221 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0263/1.07, allocations: 12.42 MB / 0.8342 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.009087/1.079, allocations: 6.08 MB / 0.8401 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.005506/1.084, allocations: 3.434 MB / 0.8435 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002574/1.087, allocations: 240 kB / 0.8437 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0008855/1.088, allocations: 81.12 kB / 0.8438 GB, free: 1.762 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.02192/1.11, allocations: 14.4 MB / 0.8579 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.003313/1.113, allocations: 2.206 MB / 0.86 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.01389/1.127, allocations: 10.6 MB / 0.8704 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.003031/1.13, allocations: 1.67 MB / 0.872 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.01019/1.14, allocations: 7.31 MB / 0.8791 GB, free: 14 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.002661/1.143, allocations: 1.623 MB / 0.8807 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.001345/1.144, allocations: 1 MB / 0.8817 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.001951/1.146, allocations: 1.892 MB / 0.8835 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.001172/1.147, allocations: 0.8225 MB / 0.8844 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.004258/1.151, allocations: 3.712 MB / 0.888 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.0135/1.165, allocations: 8.861 MB / 0.8966 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008729/1.174, allocations: 7.63 MB / 0.9041 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of [INI] Simplify: time 0.008593/1.182, allocations: 3.596 MB / 0.9076 GB, free: 476 kB / 0.6231 GB Notification: Performance of [INI] Inline: time 0.01685/1.199, allocations: 13.03 MB / 0.9203 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of [INI] Partitioning: time 0.0006597/1.2, allocations: 163.7 kB / 0.9205 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of [INI] Cleanup: time 0.004016/1.204, allocations: 2.486 MB / 0.9229 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of [INI] Causalize: time 0.03578/1.24, allocations: 21.31 MB / 0.9437 GB, free: 11.45 MB / 0.67 GB Notification: Performance of [INI] Tearing: time 0.0009066/1.24, allocations: 0.738 MB / 0.9444 GB, free: 10.73 MB / 0.67 GB Notification: Performance of [SIM] Initialization: time 2.064e-06/1.24, allocations: 0 / 0.9444 GB, free: 10.73 MB / 0.67 GB Notification: Performance of [SIM] DAE-Mode: time 0.005018/1.245, allocations: 2.988 MB / 0.9474 GB, free: 7.691 MB / 0.67 GB Notification: Performance of [SIM] Remove Dummies: time 6.258e-05/1.246, allocations: 13.83 kB / 0.9474 GB, free: 7.68 MB / 0.67 GB Notification: Performance of [SIM] Tearing: time 0.0009512/1.246, allocations: 0.802 MB / 0.9482 GB, free: 6.906 MB / 0.67 GB Notification: Performance of [SIM] Categorize: time 8.672e-05/1.247, allocations: 25.45 kB / 0.9482 GB, free: 6.887 MB / 0.67 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:1739:7-1740:100:writable] Error: Internal error NFExpression.makeSubscriptedExp: too few dimensions in pipe2.flowModel.m_flow_nominal / pipe2.flowModel.dp_nominal to apply subscripts [1] Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Real[1] pipe2.flowModel.dps_fg ### Equation: [SCAL] (1) pipe2.flowModel.m_flows[1] = (pipe2.flowModel.m_flow_nominal / pipe2.flowModel.dp_nominal * (pipe2.flowModel.dps_fg - (pipe2.flowModel.g * pipe2.flowModel.dheights) .* pipe2.flowModel.rho_nominal))[1] ($RES_SIM_527) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.0218796039698645] 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.2662056119879708 1.280665825 0.189308799 Calling exit ...