Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001566/0.001566, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.001873/0.001873, allocations: 207.2 kB / 24.55 MB, free: 3.75 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2355/0.2355, allocations: 44.94 MB / 359.7 MB, free: 6.02 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.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.206e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.8817/0.8817, allocations: 280.3 MB / 0.768 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.9019, allocations: 15.61 MB / 0.7833 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.9046, allocations: 78.75 kB / 0.7834 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.9077, allocations: 1.019 MB / 0.7843 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.9223, allocations: 6.237 MB / 0.7904 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01965/0.942, allocations: 8.768 MB / 0.799 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009623/0.9516, allocations: 8.208 MB / 0.807 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.9557, allocations: 2.124 MB / 0.8091 GB, free: 16.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01682/0.9725, allocations: 7.326 MB / 0.8162 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.9783, allocations: 2.564 MB / 0.8188 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009868/0.9793, allocations: 263.1 kB / 0.819 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02551/1.005, allocations: 12.43 MB / 0.8311 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.007871/1.013, allocations: 6.077 MB / 0.8371 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.004163/1.017, allocations: 3.43 MB / 0.8404 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/1.018, allocations: 240 kB / 0.8406 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0005507/1.019, allocations: 78.17 kB / 0.8407 GB, free: 4.305 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.01709/1.036, allocations: 14.4 MB / 0.8548 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.002839/1.039, allocations: 2.196 MB / 0.8569 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.01288/1.052, allocations: 10.61 MB / 0.8673 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.003804/1.056, allocations: 1.672 MB / 0.8689 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.01223/1.068, allocations: 7.304 MB / 0.8761 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.003224/1.071, allocations: 1.631 MB / 0.8777 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.001536/1.073, allocations: 0.9853 MB / 0.8786 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.002148/1.075, allocations: 1.901 MB / 0.8805 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.00139/1.076, allocations: 0.8255 MB / 0.8813 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.004495/1.081, allocations: 3.699 MB / 0.8849 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.01292/1.094, allocations: 8.866 MB / 0.8936 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008729/1.102, allocations: 7.626 MB / 0.901 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of [INI] Simplify: time 0.007931/1.11, allocations: 3.614 MB / 0.9045 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of [INI] Inline: time 0.01705/1.127, allocations: 13.03 MB / 0.9173 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of [INI] Partitioning: time 0.0006821/1.128, allocations: 165.7 kB / 0.9174 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of [INI] Cleanup: time 0.003792/1.132, allocations: 2.485 MB / 0.9198 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of [INI] Causalize: time 0.03642/1.168, allocations: 21.3 MB / 0.9406 GB, free: 14.02 MB / 0.67 GB Notification: Performance of [INI] Tearing: time 0.0007529/1.169, allocations: 0.7371 MB / 0.9414 GB, free: 13.3 MB / 0.67 GB Notification: Performance of [SIM] Initialization: time 1.984e-06/1.169, allocations: 3.938 kB / 0.9414 GB, free: 13.29 MB / 0.67 GB Notification: Performance of [SIM] DAE-Mode: time 0.00442/1.173, allocations: 2.988 MB / 0.9443 GB, free: 10.27 MB / 0.67 GB Notification: Performance of [SIM] Remove Dummies: time 3.224e-05/1.173, allocations: 10.02 kB / 0.9443 GB, free: 10.26 MB / 0.67 GB Notification: Performance of [SIM] Tearing: time 0.0007877/1.174, allocations: 0.8009 MB / 0.9451 GB, free: 9.484 MB / 0.67 GB Notification: Performance of [SIM] Categorize: time 7.618e-05/1.174, allocations: 33.72 kB / 0.9451 GB, free: 9.461 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: 3.792577744985465] 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.1932966409949586 1.207599879 0.184866409 Calling exit ...