Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 110.6 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 189.4 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1785/0.1785, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.682e-05, allocations: 2.281 kB / 471.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02468/0.0247, allocations: 28.14 MB / 499.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.03811, allocations: 13.31 MB / 0.5006 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.03836, allocations: 11.94 kB / 0.5006 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.03896, allocations: 246.4 kB / 0.5008 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1657/0.2047, allocations: 3.677 MB / 0.5044 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.2096, allocations: 2.364 MB / 0.5067 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.2106, allocations: 1.003 MB / 0.5077 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.211, allocations: 271.3 kB / 0.508 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.2116, allocations: 495.5 kB / 0.5084 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.2119, allocations: 278 kB / 0.5087 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.2119, allocations: 36.12 kB / 0.5087 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009867/0.2218, allocations: 6.717 MB / 0.5153 GB, free: 13.22 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0004825/0.2223, allocations: 0.7215 MB / 0.516 GB, free: 12.97 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002007/0.2225, allocations: 477 kB / 0.5165 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.2226, allocations: 73.56 kB / 0.5165 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.707e-05/0.2227, allocations: 17.78 kB / 0.5165 GB, free: 12.67 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 (65) * Number of variables: 73 (73) Notification: Performance of Bindings: time 0.001488/0.2242, allocations: 2.179 MB / 0.5187 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FunctionAlias: time 6.471e-05/0.2243, allocations: 85.77 kB / 0.5188 GB, free: 11.73 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001188/0.2255, allocations: 1.509 MB / 0.5202 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simplify1: time 6.568e-05/0.2255, allocations: 96.44 kB / 0.5203 GB, free: 11.6 MB / 382.1 MB Notification: Performance of Alias: time 0.001121/0.2267, allocations: 1.273 MB / 0.5216 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simplify2: time 6.741e-05/0.2267, allocations: 92.39 kB / 0.5217 GB, free: 11.18 MB / 382.1 MB Notification: Performance of Events: time 0.0002906/0.227, allocations: 289.3 kB / 0.5219 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002393/0.2273, allocations: 358.7 kB / 0.5223 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003835/0.2277, allocations: 0.5192 MB / 0.5228 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Causalize: time 0.001828/0.2295, allocations: 2.098 MB / 0.5248 GB, free: 10.32 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.000759/0.2303, allocations: 1.205 MB / 0.526 GB, free: 9.75 MB / 382.1 MB Notification: Performance of Inline: time 0.001414/0.2317, allocations: 2.103 MB / 0.5281 GB, free: 8.523 MB / 382.1 MB Notification: Performance of Partitioning: time 6.811e-05/0.2318, allocations: 91.61 kB / 0.5281 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Cleanup: time 5.762e-05/0.2318, allocations: 87.67 kB / 0.5282 GB, free: 8.41 MB / 382.1 MB Notification: Performance of Causalize: time 0.001889/0.2337, allocations: 2.279 MB / 0.5305 GB, free: 7.605 MB / 382.1 MB Notification: Performance of Tearing: time 9.427e-06/0.2337, allocations: 6.062 kB / 0.5305 GB, free: 7.602 MB / 382.1 MB Notification: Performance of Initialization: time 8.51e-07/0.2338, allocations: 3.344 kB / 0.5305 GB, free: 7.602 MB / 382.1 MB Notification: Performance of Tearing: time 4.559e-06/0.2338, allocations: 0 / 0.5305 GB, free: 7.602 MB / 382.1 MB Notification: Performance of Categorize: time 1.514e-05/0.2338, allocations: 8.5 kB / 0.5305 GB, free: 7.598 MB / 382.1 MB Notification: Performance of Solve: time 0.0003567/0.2341, allocations: 315.9 kB / 0.5308 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Jacobian: time 3.557e-06/0.2342, allocations: 3.938 kB / 0.5308 GB, free: 7.5 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 21 (21) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 70 (scalar:66, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 82 (scalar:78, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.819e-05/0.2342, allocations: 51.67 kB / 0.5308 GB, free: 7.465 MB / 382.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_41) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");