Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001463/0.001463, allocations: 113.7 kB / 17.1 MB, free: 5.938 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.001663/0.001663, allocations: 197.4 kB / 18.03 MB, free: 5.027 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.877/1.877, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2623/0.2623, allocations: 43.51 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.373e-05, allocations: 6.219 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03296/0.033, allocations: 28.12 MB / 470.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02114/0.0542, allocations: 13.3 MB / 483.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.05527, allocations: 7.938 kB / 483.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.05678, allocations: 254.4 kB / 484.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.07289, allocations: 3.643 MB / 487.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009351/0.08228, allocations: 2.376 MB / 490.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.08423, allocations: 0.9931 MB / 491.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.08481, allocations: 261.1 kB / 491.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.08609, allocations: 486.1 kB / 491.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.08665, allocations: 278.9 kB / 492.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.08673, allocations: 32 kB / 492.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01621/0.103, allocations: 6.716 MB / 498.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.000993/0.104, allocations: 0.7114 MB / 499.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003602/0.1044, allocations: 465.8 kB / 0.4883 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1045, allocations: 71.81 kB / 0.4884 GB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002114/0.1048, allocations: 23.88 kB / 0.4884 GB, free: 11.84 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.002892/0.1077, allocations: 2.138 MB / 0.4905 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001184/0.1078, allocations: 91.81 kB / 0.4906 GB, free: 9.492 MB / 382.1 MB Notification: Performance of Early Inline: time 0.002169/0.11, allocations: 1.503 MB / 0.492 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simplify1: time 0.00013/0.1101, allocations: 91.86 kB / 0.4921 GB, free: 7.871 MB / 382.1 MB Notification: Performance of Alias: time 0.002207/0.1123, allocations: 1.26 MB / 0.4934 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001142/0.1125, allocations: 87.89 kB / 0.4934 GB, free: 6.395 MB / 382.1 MB Notification: Performance of Events: time 0.000559/0.113, allocations: 290.7 kB / 0.4937 GB, free: 6.105 MB / 382.1 MB Notification: Performance of Detect States: time 0.0004699/0.1135, allocations: 346.3 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0007658/0.1143, allocations: 0.5222 MB / 0.4946 GB, free: 5.148 MB / 382.1 MB Notification: Performance of Causalize: time 0.003159/0.1175, allocations: 2.071 MB / 0.4966 GB, free: 2.984 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001595/0.1191, allocations: 1.184 MB / 0.4977 GB, free: 1.773 MB / 382.1 MB Notification: Performance of Inline: time 0.003025/0.1221, allocations: 2.07 MB / 0.4998 GB, free: 15.67 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001444/0.1223, allocations: 95.47 kB / 0.4999 GB, free: 15.57 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001468/0.1225, allocations: 91.84 kB / 0.4999 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Causalize: time 0.003371/0.1258, allocations: 2.268 MB / 0.5022 GB, free: 13.19 MB / 398.1 MB Notification: Performance of Tearing: time 1.198e-05/0.1259, allocations: 0 / 0.5022 GB, free: 13.19 MB / 398.1 MB Notification: Performance of Initialization: time 6.92e-07/0.1259, allocations: 0 / 0.5022 GB, free: 13.19 MB / 398.1 MB Notification: Performance of Tearing: time 1.227e-05/0.1259, allocations: 4 kB / 0.5022 GB, free: 13.19 MB / 398.1 MB Notification: Performance of Categorize: time 4.609e-05/0.1259, allocations: 7.938 kB / 0.5022 GB, free: 13.18 MB / 398.1 MB Notification: Performance of Solve: time 0.0006445/0.1266, allocations: 310.6 kB / 0.5025 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Jacobian: time 6.813e-06/0.1266, allocations: 0 / 0.5025 GB, free: 12.88 MB / 398.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.0002225/0.1268, allocations: 61.33 kB / 0.5025 GB, free: 12.83 MB / 398.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");