Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Valves.TestValveIncompressible,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 116.8 kB / 18.47 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 209 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.14/1.14, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1725/0.1725, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.562e-05, allocations: 5.375 kB / 481.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.2127/0.2128, allocations: 64.52 MB / 0.5336 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02398/0.2368, allocations: 24.61 MB / 0.5577 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.238, allocations: 32.19 kB / 0.5577 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.2398, allocations: 0.7385 MB / 0.5584 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00997/0.2498, allocations: 4.668 MB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009876/0.2596, allocations: 4.654 MB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.2629, allocations: 3.114 MB / 0.5706 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.2639, allocations: 0.7817 MB / 0.5713 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.2658, allocations: 1.242 MB / 0.5725 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.2668, allocations: 0.8287 MB / 0.5733 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.267, allocations: 104 kB / 0.5734 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.2777, allocations: 7.664 MB / 0.5809 GB, free: 1.336 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001403/0.2791, allocations: 2.165 MB / 0.583 GB, free: 15.14 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.000753/0.2798, allocations: 1.389 MB / 0.5844 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.2801, allocations: 223.4 kB / 0.5846 GB, free: 13.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001815/0.2803, allocations: 51.8 kB / 0.5847 GB, free: 13.47 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 (202) * Number of variables: 226 (226) Notification: Performance of Bindings: time 0.004697/0.285, allocations: 6.155 MB / 0.5907 GB, free: 7.129 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0002128/0.2852, allocations: 263.6 kB / 0.5909 GB, free: 6.871 MB / 430.1 MB Notification: Performance of Early Inline: time 0.004209/0.2894, allocations: 4.783 MB / 0.5956 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simplify1: time 0.0002486/0.2897, allocations: 291.6 kB / 0.5959 GB, free: 1.762 MB / 430.1 MB Notification: Performance of Alias: time 0.003631/0.2933, allocations: 3.906 MB / 0.5997 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simplify2: time 0.0002248/0.2935, allocations: 271.6 kB / 0.5999 GB, free: 13.23 MB / 446.1 MB Notification: Performance of Events: time 0.0009772/0.2945, allocations: 0.9945 MB / 0.6009 GB, free: 12.26 MB / 446.1 MB Notification: Performance of Detect States: time 0.0007479/0.2953, allocations: 1.005 MB / 0.6019 GB, free: 11.23 MB / 446.1 MB Notification: Performance of Partitioning: time 0.001429/0.2967, allocations: 1.665 MB / 0.6035 GB, free: 9.266 MB / 446.1 MB Notification: Performance of Causalize: time 0.006493/0.3032, allocations: 6.647 MB / 0.61 GB, free: 2.293 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.003037/0.3063, allocations: 3.74 MB / 0.6137 GB, free: 14.51 MB / 462.1 MB Notification: Performance of Inline: time 0.005645/0.3119, allocations: 6.759 MB / 0.6203 GB, free: 7.621 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002635/0.3122, allocations: 260.3 kB / 0.6205 GB, free: 7.34 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0005146/0.3127, allocations: 0.6712 MB / 0.6212 GB, free: 6.648 MB / 462.1 MB Notification: Performance of Causalize: time 0.0155/0.3282, allocations: 15.42 MB / 0.6362 GB, free: 6.926 MB / 478.1 MB Notification: Performance of Tearing: time 2.206e-05/0.3282, allocations: 0 / 0.6362 GB, free: 6.926 MB / 478.1 MB Notification: Performance of Initialization: time 1.904e-06/0.3283, allocations: 0 / 0.6362 GB, free: 6.926 MB / 478.1 MB Notification: Performance of Tearing: time 2.021e-05/0.3283, allocations: 19.81 kB / 0.6362 GB, free: 6.906 MB / 478.1 MB Notification: Performance of Categorize: time 4.043e-05/0.3283, allocations: 11.94 kB / 0.6363 GB, free: 6.895 MB / 478.1 MB Notification: Performance of Solve: time 0.001621/0.33, allocations: 1.065 MB / 0.6373 GB, free: 5.801 MB / 478.1 MB Notification: Performance of Jacobian: time 3.006e-06/0.33, allocations: 0 / 0.6373 GB, free: 5.801 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 18 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 19 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 72 (72) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, SourceP2.medium.state.phase, SourceP2.medium.phase, V2.state_a.phase, V2.state_b.phase, SinkP2.medium.state.phase, SinkP2.medium.phase, SourceP3.medium.state.phase, SourceP3.medium.phase, V3.state_a.phase, V3.state_b.phase, SinkP3.medium.state.phase, SinkP3.medium.phase, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35[$i1], $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26[$i1], $SEV_25, $SEV_24, $SEV_23[$i1], $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14[$i1], $SEV_13, $SEV_12, $SEV_11[$i1], $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $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: ........... 219 (scalar:207, array:12, 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: ........... 273 (scalar:261, array:12, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 273 (scalar:261, array:12, 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 0.0001084/0.3301, allocations: 134.8 kB / 0.6374 GB, free: 5.676 MB / 478.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_166) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");