Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 119.1 kB / 18.47 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 205 kB / 19.41 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1725/0.1725, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.579e-05, allocations: 6.219 kB / 481.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.02347/0.02349, allocations: 28.26 MB / 0.4982 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1664/0.1899, allocations: 13.28 MB / 0.5112 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1902, allocations: 11.84 kB / 0.5112 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.1907, allocations: 251.9 kB / 0.5114 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.1981, allocations: 3.668 MB / 0.515 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.2027, allocations: 2.362 MB / 0.5173 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008605/0.2036, allocations: 1.003 MB / 0.5183 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2039, allocations: 258.7 kB / 0.5186 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.2045, allocations: 492.2 kB / 0.519 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2048, allocations: 279.4 kB / 0.5193 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.2048, allocations: 33.44 kB / 0.5193 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009233/0.2141, allocations: 6.73 MB / 0.5259 GB, free: 10.66 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0004113/0.2145, allocations: 0.7177 MB / 0.5266 GB, free: 10.27 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001945/0.2147, allocations: 475.2 kB / 0.5271 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.2148, allocations: 72.91 kB / 0.5271 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.817e-05/0.2149, allocations: 21.38 kB / 0.5271 GB, free: 9.953 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.001477/0.2164, allocations: 2.156 MB / 0.5292 GB, free: 8.734 MB / 382.1 MB Notification: Performance of FunctionAlias: time 6.578e-05/0.2164, allocations: 93.77 kB / 0.5293 GB, free: 8.66 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001095/0.2175, allocations: 1.486 MB / 0.5308 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simplify1: time 6.728e-05/0.2176, allocations: 97.19 kB / 0.5309 GB, free: 7.535 MB / 382.1 MB Notification: Performance of Alias: time 0.00102/0.2186, allocations: 1.267 MB / 0.5321 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simplify2: time 6.547e-05/0.2187, allocations: 88.42 kB / 0.5322 GB, free: 6.566 MB / 382.1 MB Notification: Performance of Events: time 0.0002462/0.219, allocations: 293.1 kB / 0.5325 GB, free: 6.363 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002147/0.2192, allocations: 337.8 kB / 0.5328 GB, free: 6.086 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003763/0.2196, allocations: 0.5101 MB / 0.5333 GB, free: 5.691 MB / 382.1 MB Notification: Performance of Causalize: time 0.001681/0.2213, allocations: 2.094 MB / 0.5353 GB, free: 4.711 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006962/0.222, allocations: 1.18 MB / 0.5365 GB, free: 3.801 MB / 382.1 MB Notification: Performance of Inline: time 0.001322/0.2233, allocations: 2.078 MB / 0.5385 GB, free: 2.289 MB / 382.1 MB Notification: Performance of Partitioning: time 6.465e-05/0.2234, allocations: 89.36 kB / 0.5386 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Cleanup: time 5.057e-05/0.2234, allocations: 88.89 kB / 0.5387 GB, free: 2.152 MB / 382.1 MB Notification: Performance of Causalize: time 0.001849/0.2253, allocations: 2.26 MB / 0.5409 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Tearing: time 8.906e-06/0.2253, allocations: 0 / 0.5409 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Initialization: time 3.4e-07/0.2253, allocations: 0 / 0.5409 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Tearing: time 4.248e-06/0.2253, allocations: 6.562 kB / 0.5409 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Categorize: time 1.164e-05/0.2253, allocations: 2.344 kB / 0.5409 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Solve: time 0.0003472/0.2257, allocations: 320.5 kB / 0.5412 GB, free: 1.047 MB / 382.1 MB Notification: Performance of Jacobian: time 3.166e-06/0.2257, allocations: 4 kB / 0.5412 GB, free: 1.043 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 8.377e-05/0.2258, allocations: 40.8 kB / 0.5413 GB, free: 1.016 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");