Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,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.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 113.8 kB / 18.47 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 210.3 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.131/1.131, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 46.09 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.182e-05, allocations: 2.281 kB / 481.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02369/0.02371, allocations: 28.27 MB / 0.4982 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1709/0.1947, allocations: 13.29 MB / 0.5112 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.1949, allocations: 12.25 kB / 0.5112 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.1955, allocations: 247.6 kB / 0.5115 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.2032, allocations: 3.679 MB / 0.515 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.2084, allocations: 2.368 MB / 0.5174 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009627/0.2093, allocations: 1.006 MB / 0.5183 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.2096, allocations: 263.4 kB / 0.5186 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.2102, allocations: 490.9 kB / 0.5191 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.2105, allocations: 286 kB / 0.5193 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.2106, allocations: 33.84 kB / 0.5194 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.221, allocations: 6.725 MB / 0.5259 GB, free: 10.66 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0004799/0.2215, allocations: 0.7241 MB / 0.5266 GB, free: 10.27 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001961/0.2217, allocations: 485.4 kB / 0.5271 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.2218, allocations: 72.88 kB / 0.5272 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.249e-05/0.2219, allocations: 17.84 kB / 0.5272 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.001486/0.2234, allocations: 2.181 MB / 0.5293 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FunctionAlias: time 6.623e-05/0.2235, allocations: 100.7 kB / 0.5294 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001077/0.2246, allocations: 1.503 MB / 0.5309 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simplify1: time 6.382e-05/0.2246, allocations: 91.44 kB / 0.531 GB, free: 7.461 MB / 382.1 MB Notification: Performance of Alias: time 0.001015/0.2257, allocations: 1.275 MB / 0.5322 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simplify2: time 6.226e-05/0.2257, allocations: 86.81 kB / 0.5323 GB, free: 6.488 MB / 382.1 MB Notification: Performance of Events: time 0.0002687/0.226, allocations: 308 kB / 0.5326 GB, free: 6.277 MB / 382.1 MB Notification: Performance of Detect States: time 0.0001993/0.2262, allocations: 338.4 kB / 0.5329 GB, free: 6 MB / 382.1 MB Notification: Performance of Partitioning: time 0.000365/0.2266, allocations: 0.5133 MB / 0.5334 GB, free: 5.602 MB / 382.1 MB Notification: Performance of Causalize: time 0.001707/0.2283, allocations: 2.108 MB / 0.5355 GB, free: 4.613 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007001/0.229, allocations: 1.195 MB / 0.5366 GB, free: 3.691 MB / 382.1 MB Notification: Performance of Inline: time 0.001317/0.2303, allocations: 2.108 MB / 0.5387 GB, free: 2.16 MB / 382.1 MB Notification: Performance of Partitioning: time 6.519e-05/0.2304, allocations: 91.56 kB / 0.5388 GB, free: 2.094 MB / 382.1 MB Notification: Performance of Cleanup: time 5.217e-05/0.2305, allocations: 93.25 kB / 0.5389 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Causalize: time 0.001836/0.2323, allocations: 2.271 MB / 0.5411 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Tearing: time 9.608e-06/0.2323, allocations: 2.156 kB / 0.5411 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Initialization: time 3.11e-07/0.2323, allocations: 3.938 kB / 0.5411 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Tearing: time 4.558e-06/0.2323, allocations: 6.938 kB / 0.5411 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Categorize: time 1.151e-05/0.2324, allocations: 6.5 kB / 0.5411 GB, free: 1.059 MB / 382.1 MB Notification: Performance of Solve: time 0.0003502/0.2327, allocations: 323.2 kB / 0.5414 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of Jacobian: time 2.575e-06/0.2327, allocations: 0 / 0.5414 GB, free: 0.8945 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, $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_3, $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: ........... 70 (scalar:66, 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: ........... 82 (scalar:78, 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.001e-05/0.2328, allocations: 36.64 kB / 0.5415 GB, free: 0.8672 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");