Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001105, allocations: 108.5 kB / 18.46 MB, free: 4.59 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.001226/0.001226, allocations: 181.2 kB / 19.39 MB, free: 3.672 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.38/1.38, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2239/0.2239, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.157e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.4236/0.4236, allocations: 64.33 MB / 0.5229 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03516/0.4589, allocations: 24.59 MB / 0.547 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.4613, allocations: 34.69 kB / 0.547 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.4637, allocations: 0.7383 MB / 0.5477 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01906/0.4828, allocations: 4.686 MB / 0.5523 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0212/0.504, allocations: 4.667 MB / 0.5569 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006009/0.51, allocations: 3.108 MB / 0.5599 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.5121, allocations: 0.7753 MB / 0.5606 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.5158, allocations: 1.244 MB / 0.5619 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.5182, allocations: 0.832 MB / 0.5627 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006315/0.5188, allocations: 108 kB / 0.5628 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/0.539, allocations: 7.656 MB / 0.5703 GB, free: 14.97 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003909/0.5429, allocations: 2.173 MB / 0.5724 GB, free: 12.77 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0018/0.5448, allocations: 1.395 MB / 0.5737 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009237/0.5457, allocations: 215.4 kB / 0.5739 GB, free: 11.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0004941/0.5462, allocations: 55.8 kB / 0.574 GB, free: 11.1 MB / 414.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.01118/0.5574, allocations: 6.151 MB / 0.58 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0007571/0.5582, allocations: 263.6 kB / 0.5803 GB, free: 4.5 MB / 414.1 MB Notification: Performance of Early Inline: time 0.008578/0.5668, allocations: 4.779 MB / 0.5849 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simplify1: time 0.0008344/0.5677, allocations: 295.6 kB / 0.5852 GB, free: 15.39 MB / 430.1 MB Notification: Performance of Alias: time 0.00656/0.5743, allocations: 3.91 MB / 0.589 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simplify2: time 0.0006105/0.5749, allocations: 271.6 kB / 0.5893 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Detect States: time 0.001326/0.5762, allocations: 0.8428 MB / 0.5901 GB, free: 10 MB / 430.1 MB Notification: Performance of Events: time 0.001805/0.5781, allocations: 0.9779 MB / 0.5911 GB, free: 9.035 MB / 430.1 MB Notification: Performance of Partitioning: time 0.002465/0.5806, allocations: 1.677 MB / 0.5927 GB, free: 7.062 MB / 430.1 MB Notification: Performance of Causalize: time 0.008695/0.5893, allocations: 6.655 MB / 0.5992 GB, free: 88 kB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.004353/0.5937, allocations: 3.736 MB / 0.6028 GB, free: 12.3 MB / 446.1 MB Notification: Performance of Inline: time 0.007924/0.6016, allocations: 6.755 MB / 0.6094 GB, free: 5.426 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0004403/0.6021, allocations: 268.3 kB / 0.6097 GB, free: 5.133 MB / 446.1 MB Notification: Performance of Cleanup: time 0.001013/0.6031, allocations: 0.6518 MB / 0.6103 GB, free: 4.465 MB / 446.1 MB Notification: Performance of Causalize: time 0.02209/0.6252, allocations: 15.43 MB / 0.6254 GB, free: 4.738 MB / 462.1 MB Notification: Performance of Tearing: time 4.333e-05/0.6253, allocations: 3.938 kB / 0.6254 GB, free: 4.734 MB / 462.1 MB Notification: Performance of Initialization: time 1.022e-06/0.6253, allocations: 0 / 0.6254 GB, free: 4.734 MB / 462.1 MB Notification: Performance of Tearing: time 3.863e-05/0.6253, allocations: 15.88 kB / 0.6254 GB, free: 4.719 MB / 462.1 MB Notification: Performance of Categorize: time 9.841e-05/0.6254, allocations: 11.94 kB / 0.6254 GB, free: 4.707 MB / 462.1 MB Notification: Performance of Solve: time 0.00311/0.6286, allocations: 1.069 MB / 0.6265 GB, free: 3.609 MB / 462.1 MB Notification: Performance of Jacobian: time 6.652e-06/0.6286, allocations: 0 / 0.6265 GB, free: 3.609 MB / 462.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.0002109/0.6288, allocations: 138.9 kB / 0.6266 GB, free: 3.484 MB / 462.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");