Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001221/0.001221, allocations: 107.5 kB / 16.42 MB, free: 6.469 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.00112/0.00112, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.195/1.195, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1559/0.1559, allocations: 38 MB / 308.6 MB, free: 5.992 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.309e-05, allocations: 9.031 kB / 433.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.02241/0.02244, allocations: 28.12 MB / 461.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.03635, allocations: 13.3 MB / 475 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.03659, allocations: 7.938 kB / 475 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.03721, allocations: 242.4 kB / 475.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007957/0.04526, allocations: 3.654 MB / 478.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.05087, allocations: 2.369 MB / 481.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.05203, allocations: 0.9931 MB / 482.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.05243, allocations: 273 kB / 482.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.05311, allocations: 486.1 kB / 483 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.05343, allocations: 283 kB / 483.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.05349, allocations: 40 kB / 483.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.06443, allocations: 6.712 MB / 490.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006171/0.06508, allocations: 0.7115 MB / 490.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002773/0.06537, allocations: 465.7 kB / 491.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.0655, allocations: 75.81 kB / 491.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.687e-05/0.0656, allocations: 15.94 kB / 491.3 MB, free: 4.582 MB / 366.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.00181/0.06742, allocations: 2.055 MB / 493.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FunctionAlias: time 8.583e-05/0.06751, allocations: 91.83 kB / 493.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001437/0.06895, allocations: 1.499 MB / 495 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simplify1: time 8.059e-05/0.06905, allocations: 95.8 kB / 495.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of Alias: time 0.001202/0.07025, allocations: 1.202 MB / 496.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simplify2: time 7.574e-05/0.07034, allocations: 83.89 kB / 496.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of Events: time 0.0003494/0.0707, allocations: 290.4 kB / 496.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Detect States: time 0.000297/0.07101, allocations: 346.5 kB / 497 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0004901/0.0715, allocations: 0.5144 MB / 497.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Causalize: time 0.002668/0.07418, allocations: 2.92 MB / 0.4887 GB, free: 11.07 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001052/0.07524, allocations: 1.184 MB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of Inline: time 0.001938/0.07719, allocations: 2.07 MB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of Partitioning: time 9.684e-05/0.0773, allocations: 91.59 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of Cleanup: time 7.464e-05/0.07738, allocations: 91.84 kB / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of Causalize: time 0.002491/0.07988, allocations: 2.875 MB / 0.4948 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Tearing: time 7.605e-06/0.07989, allocations: 4 kB / 0.4948 GB, free: 4.738 MB / 382.1 MB Notification: Performance of Initialization: time 4.01e-07/0.0799, allocations: 0 / 0.4948 GB, free: 4.738 MB / 382.1 MB Notification: Performance of Tearing: time 2.865e-06/0.07991, allocations: 0 / 0.4948 GB, free: 4.738 MB / 382.1 MB Notification: Performance of Categorize: time 1.959e-05/0.07993, allocations: 8.25 kB / 0.4948 GB, free: 4.73 MB / 382.1 MB Notification: Performance of Solve: time 0.0004399/0.08038, allocations: 330.5 kB / 0.4952 GB, free: 4.41 MB / 382.1 MB Notification: Performance of Jacobian: time 3.216e-06/0.08039, allocations: 0 / 0.4952 GB, free: 4.41 MB / 382.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 7.057e-05/0.08046, allocations: 46.41 kB / 0.4952 GB, free: 4.379 MB / 382.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");