Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00123/0.00123, allocations: 107 kB / 16.42 MB, free: 6.492 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.001118/0.001118, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.26/1.26, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1697/0.1697, allocations: 39.96 MB / 310.6 MB, free: 4.023 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.627e-05, allocations: 6.5 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.02432/0.02435, allocations: 28.12 MB / 464.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.03915, allocations: 13.29 MB / 477.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.03942, allocations: 11.94 kB / 477.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.04009, allocations: 250.4 kB / 478.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.04869, allocations: 3.653 MB / 481.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.05459, allocations: 2.361 MB / 484.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.05579, allocations: 0.9969 MB / 485.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.05621, allocations: 265.1 kB / 485.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.05692, allocations: 486.2 kB / 485.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.05727, allocations: 286.9 kB / 486.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.05733, allocations: 36 kB / 486.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.06879, allocations: 6.72 MB / 492.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006365/0.06945, allocations: 0.7075 MB / 493.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003032/0.06976, allocations: 469.7 kB / 494 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.06987, allocations: 75.81 kB / 494.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.68e-05/0.06996, allocations: 11.94 kB / 494.1 MB, free: 1.902 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.001873/0.07184, allocations: 2.066 MB / 496.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of FunctionAlias: time 9.601e-05/0.07195, allocations: 87.83 kB / 496.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001563/0.07352, allocations: 1.499 MB / 497.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simplify1: time 8.361e-05/0.07361, allocations: 91.88 kB / 497.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Alias: time 0.001344/0.07497, allocations: 1.195 MB / 499 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simplify2: time 8.817e-05/0.07507, allocations: 91.88 kB / 499.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Events: time 0.0003629/0.07544, allocations: 286.3 kB / 499.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Detect States: time 0.0004316/0.07588, allocations: 340.8 kB / 499.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0004857/0.07637, allocations: 0.5144 MB / 0.4885 GB, free: 11.38 MB / 382.1 MB Notification: Performance of Causalize: time 0.002952/0.07933, allocations: 2.924 MB / 0.4914 GB, free: 8.391 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001102/0.08045, allocations: 1.192 MB / 0.4925 GB, free: 7.176 MB / 382.1 MB Notification: Performance of Inline: time 0.002041/0.0825, allocations: 2.074 MB / 0.4946 GB, free: 5.066 MB / 382.1 MB Notification: Performance of Partitioning: time 8.631e-05/0.0826, allocations: 91.53 kB / 0.4947 GB, free: 4.969 MB / 382.1 MB Notification: Performance of Cleanup: time 8.125e-05/0.08268, allocations: 76.08 kB / 0.4947 GB, free: 4.895 MB / 382.1 MB Notification: Performance of Causalize: time 0.002572/0.08526, allocations: 2.891 MB / 0.4976 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Tearing: time 6.592e-06/0.08528, allocations: 0 / 0.4976 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Initialization: time 3.81e-07/0.08529, allocations: 4 kB / 0.4976 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Tearing: time 4.358e-06/0.0853, allocations: 4 kB / 0.4976 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Categorize: time 1.711e-05/0.08532, allocations: 7.938 kB / 0.4976 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Solve: time 0.0004934/0.08582, allocations: 306.6 kB / 0.4979 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Jacobian: time 7.073e-06/0.08583, allocations: 0 / 0.4979 GB, free: 1.742 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 0.0001533/0.08599, allocations: 50.22 kB / 0.4979 GB, free: 1.707 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");