Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.95 MB / 361.6 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.895e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 1.042/1.042, allocations: 280.3 MB / 0.7711 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0203/1.062, allocations: 15.61 MB / 0.7864 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/1.065, allocations: 79.39 kB / 0.7864 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/1.068, allocations: 1.025 MB / 0.7874 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01736/1.085, allocations: 6.248 MB / 0.7935 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0271/1.112, allocations: 8.766 MB / 0.8021 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0124/1.125, allocations: 8.206 MB / 0.8101 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006791/1.131, allocations: 2.123 MB / 0.8122 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/1.152, allocations: 7.333 MB / 0.8193 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006315/1.158, allocations: 2.561 MB / 0.8218 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/1.159, allocations: 264.5 kB / 0.8221 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02693/1.186, allocations: 12.42 MB / 0.8342 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.01105/1.197, allocations: 6.083 MB / 0.8402 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.00505/1.202, allocations: 3.415 MB / 0.8435 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002065/1.205, allocations: 240 kB / 0.8437 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0007311/1.205, allocations: 86.62 kB / 0.8438 GB, free: 1.672 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.02449/1.23, allocations: 14.41 MB / 0.8579 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.004248/1.234, allocations: 2.199 MB / 0.86 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.0179/1.252, allocations: 10.61 MB / 0.8704 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.004246/1.256, allocations: 1.679 MB / 0.872 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.01345/1.27, allocations: 7.3 MB / 0.8792 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.003771/1.273, allocations: 1.619 MB / 0.8807 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.002286/1.276, allocations: 0.9955 MB / 0.8817 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.002895/1.279, allocations: 1.898 MB / 0.8836 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.001675/1.28, allocations: 0.826 MB / 0.8844 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.005859/1.286, allocations: 3.705 MB / 0.888 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.01783/1.304, allocations: 8.873 MB / 0.8967 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01181/1.316, allocations: 7.633 MB / 0.9041 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of [INI] Simplify: time 0.008912/1.325, allocations: 3.587 MB / 0.9076 GB, free: 384 kB / 0.6231 GB Notification: Performance of [INI] Inline: time 0.02072/1.345, allocations: 13.03 MB / 0.9203 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of [INI] Partitioning: time 0.0006947/1.346, allocations: 159.7 kB / 0.9205 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of [INI] Cleanup: time 0.00533/1.351, allocations: 2.487 MB / 0.9229 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of [INI] Causalize: time 0.04401/1.395, allocations: 21.3 MB / 0.9437 GB, free: 11.36 MB / 0.67 GB Notification: Performance of [INI] Tearing: time 0.001056/1.396, allocations: 0.7396 MB / 0.9444 GB, free: 10.65 MB / 0.67 GB Notification: Performance of [SIM] Initialization: time 2.215e-06/1.396, allocations: 0 / 0.9444 GB, free: 10.65 MB / 0.67 GB Notification: Performance of [SIM] DAE-Mode: time 0.005739/1.402, allocations: 3 MB / 0.9474 GB, free: 7.59 MB / 0.67 GB Notification: Performance of [SIM] Remove Dummies: time 8.126e-05/1.402, allocations: 11 kB / 0.9474 GB, free: 7.578 MB / 0.67 GB Notification: Performance of [SIM] Tearing: time 0.0009337/1.403, allocations: 0.8 MB / 0.9482 GB, free: 6.812 MB / 0.67 GB Notification: Performance of [SIM] Categorize: time 9.679e-05/1.403, allocations: 23.53 kB / 0.9482 GB, free: 6.797 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.2388598680263385] 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.4239511140040122 1.4391711200000001 0.22992875100000001 Calling exit ...