Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001432/0.001432, allocations: 112.3 kB / 17.09 MB, free: 5.984 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.001582/0.001582, allocations: 197.5 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2689/0.2689, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.599e-05, allocations: 2.281 kB / 442.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.09153/0.09156, allocations: 64.32 MB / 0.4949 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04001/0.1316, allocations: 24.59 MB / 0.5189 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.1342, allocations: 35.75 kB / 0.5189 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.137, allocations: 0.7336 MB / 0.5196 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01689/0.154, allocations: 4.647 MB / 0.5242 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01563/0.1696, allocations: 4.648 MB / 0.5287 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3527/0.5223, allocations: 3.088 MB / 0.5317 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.5249, allocations: 0.7807 MB / 0.5325 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.5296, allocations: 1.235 MB / 0.5337 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.5327, allocations: 0.8233 MB / 0.5345 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.5332, allocations: 104.6 kB / 0.5346 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02758/0.5608, allocations: 7.653 MB / 0.5421 GB, free: 11.11 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.004019/0.5649, allocations: 2.171 MB / 0.5442 GB, free: 10.27 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.002227/0.5672, allocations: 1.371 MB / 0.5455 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007943/0.568, allocations: 223.2 kB / 0.5457 GB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0004059/0.5684, allocations: 50.33 kB / 0.5458 GB, free: 9.391 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.006611/0.575, allocations: 6.134 MB / 0.5518 GB, free: 6.973 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.000515/0.5756, allocations: 273.5 kB / 0.552 GB, free: 6.953 MB / 414.1 MB Notification: Performance of Early Inline: time 0.005653/0.5812, allocations: 4.772 MB / 0.5567 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simplify1: time 0.0004388/0.5817, allocations: 294 kB / 0.557 GB, free: 6.695 MB / 414.1 MB Notification: Performance of Alias: time 0.005272/0.587, allocations: 3.896 MB / 0.5608 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simplify2: time 0.0004561/0.5875, allocations: 279 kB / 0.5611 GB, free: 5.484 MB / 414.1 MB Notification: Performance of Events: time 0.001141/0.5886, allocations: 0.982 MB / 0.562 GB, free: 5.203 MB / 414.1 MB Notification: Performance of Detect States: time 0.0009942/0.5896, allocations: 1.013 MB / 0.563 GB, free: 5.113 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001947/0.5916, allocations: 1.674 MB / 0.5646 GB, free: 4.391 MB / 414.1 MB Notification: Performance of Causalize: time 0.007858/0.5994, allocations: 6.647 MB / 0.5711 GB, free: 2.691 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.003846/0.6033, allocations: 3.739 MB / 0.5748 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Inline: time 0.00752/0.6109, allocations: 6.773 MB / 0.5814 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0005544/0.6115, allocations: 261.2 kB / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of Cleanup: time 0.00119/0.6127, allocations: 0.6577 MB / 0.5823 GB, free: 14.13 MB / 430.1 MB Notification: Performance of Causalize: time 0.0242/0.6369, allocations: 15.43 MB / 0.5974 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Tearing: time 5.044e-05/0.637, allocations: 0 / 0.5974 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Initialization: time 1.924e-06/0.637, allocations: 3.938 kB / 0.5974 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Tearing: time 6.06e-05/0.6371, allocations: 7.938 kB / 0.5974 GB, free: 15.47 MB / 446.1 MB Notification: Performance of Categorize: time 0.0001235/0.6372, allocations: 15.73 kB / 0.5974 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Solve: time 0.003409/0.6406, allocations: 1.074 MB / 0.5984 GB, free: 14.55 MB / 446.1 MB Notification: Performance of Jacobian: time 5.951e-06/0.6406, allocations: 0 / 0.5984 GB, free: 14.55 MB / 446.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.0002437/0.6409, allocations: 130.5 kB / 0.5986 GB, free: 14.42 MB / 446.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");