Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.TestValveDiscrete,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.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,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.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 110.3 kB / 18.41 MB, free: 4.68 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.0008977/0.0008977, allocations: 195.5 kB / 19.35 MB, free: 3.746 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.248/1.248, allocations: 222.9 MB / 243 MB, free: 15.17 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.2059/0.2059, allocations: 44.18 MB / 337.4 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.542e-05, allocations: 6.219 kB / 409.8 MB, free: 26.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.0206/0.02065, allocations: 28.12 MB / 438 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.03672, allocations: 13.3 MB / 451.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.0374, allocations: 7.938 kB / 451.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009786/0.03839, allocations: 254.4 kB / 451.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.04886, allocations: 3.655 MB / 455.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006327/0.0552, allocations: 2.367 MB / 457.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.05647, allocations: 0.997 MB / 458.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.05688, allocations: 273.1 kB / 458.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.0576, allocations: 486.1 kB / 459.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.05794, allocations: 298.8 kB / 459.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.058, allocations: 36 kB / 459.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.06881, allocations: 6.712 MB / 466.3 MB, free: 2 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.000622/0.06946, allocations: 0.7115 MB / 467 MB, free: 1.281 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003069/0.06977, allocations: 465.8 kB / 467.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.0699, allocations: 71.81 kB / 467.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.000139/0.07005, allocations: 23.88 kB / 467.6 MB, free: 0.7266 MB / 334.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.001891/0.07195, allocations: 2.066 MB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.418e-05/0.07205, allocations: 95.81 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001538/0.07359, allocations: 1.491 MB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplify1: time 9.631e-05/0.0737, allocations: 91.88 kB / 471.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Alias: time 0.001298/0.07501, allocations: 1.206 MB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplify2: time 8.7e-05/0.07511, allocations: 87.88 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Events: time 0.0003414/0.07546, allocations: 279.2 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003111/0.07578, allocations: 350.6 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005074/0.07629, allocations: 0.5067 MB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Causalize: time 0.002814/0.07911, allocations: 2.877 MB / 476.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.001114/0.08024, allocations: 1.176 MB / 477.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Inline: time 0.002024/0.08227, allocations: 2.062 MB / 479.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of Partitioning: time 8.572e-05/0.08237, allocations: 87.61 kB / 479.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of Cleanup: time 7.478e-05/0.08245, allocations: 83.84 kB / 480 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Causalize: time 0.002585/0.08504, allocations: 2.859 MB / 482.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Tearing: time 7.504e-06/0.08506, allocations: 3.938 kB / 482.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Initialization: time 2.9e-07/0.08506, allocations: 0 / 482.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Tearing: time 3.377e-06/0.08507, allocations: 0 / 482.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Categorize: time 1.762e-05/0.0851, allocations: 4 kB / 482.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Solve: time 0.0004748/0.08558, allocations: 322.5 kB / 483.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Jacobian: time 3.306e-06/0.08559, allocations: 0 / 483.2 MB, free: 0.6562 MB / 350.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, Opening.y, $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_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: ........... 69 (scalar:65, 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: ........... 81 (scalar:77, 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 0.0001397/0.08573, allocations: 47.2 kB / 483.2 MB, free: 0.6211 MB / 350.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");