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.001463/0.001463, allocations: 111.2 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 206.8 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.441e-05, allocations: 2.281 kB / 481.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03673/0.03676, allocations: 28.27 MB / 0.4982 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3562/0.393, allocations: 13.29 MB / 0.5112 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.3938, allocations: 10.97 kB / 0.5112 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.3949, allocations: 258 kB / 0.5115 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.4097, allocations: 3.675 MB / 0.5151 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008824/0.4185, allocations: 2.377 MB / 0.5174 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.4204, allocations: 1.003 MB / 0.5184 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.4209, allocations: 268 kB / 0.5186 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009985/0.4219, allocations: 492.8 kB / 0.5191 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.4223, allocations: 278.9 kB / 0.5193 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/0.4224, allocations: 34.94 kB / 0.5194 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01879/0.4412, allocations: 6.728 MB / 0.526 GB, free: 10.67 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001003/0.4423, allocations: 0.7289 MB / 0.5267 GB, free: 10.27 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003287/0.4426, allocations: 476.8 kB / 0.5271 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.4428, allocations: 75.56 kB / 0.5272 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001684/0.443, allocations: 13.16 kB / 0.5272 GB, free: 9.961 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.002325/0.4453, allocations: 2.188 MB / 0.5293 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FunctionAlias: time 9.837e-05/0.4454, allocations: 89.16 kB / 0.5294 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001555/0.447, allocations: 1.504 MB / 0.5309 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simplify1: time 8.632e-05/0.4471, allocations: 101.8 kB / 0.531 GB, free: 7.48 MB / 382.1 MB Notification: Performance of Alias: time 0.001411/0.4485, allocations: 1.276 MB / 0.5322 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simplify2: time 0.000105/0.4486, allocations: 89.22 kB / 0.5323 GB, free: 6.504 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003213/0.4489, allocations: 297.7 kB / 0.5326 GB, free: 6.262 MB / 382.1 MB Notification: Performance of Events: time 0.000394/0.4493, allocations: 292.9 kB / 0.5329 GB, free: 6.062 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0005163/0.4499, allocations: 0.5218 MB / 0.5334 GB, free: 5.656 MB / 382.1 MB Notification: Performance of Causalize: time 0.002287/0.4521, allocations: 2.092 MB / 0.5354 GB, free: 4.688 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001089/0.4532, allocations: 1.203 MB / 0.5366 GB, free: 3.762 MB / 382.1 MB Notification: Performance of Inline: time 0.002114/0.4554, allocations: 2.114 MB / 0.5387 GB, free: 2.219 MB / 382.1 MB Notification: Performance of Partitioning: time 9.416e-05/0.4555, allocations: 83.78 kB / 0.5388 GB, free: 2.164 MB / 382.1 MB Notification: Performance of Cleanup: time 7.77e-05/0.4556, allocations: 89.92 kB / 0.5388 GB, free: 2.09 MB / 382.1 MB Notification: Performance of Causalize: time 0.002513/0.4581, allocations: 2.269 MB / 0.5411 GB, free: 1.148 MB / 382.1 MB Notification: Performance of Tearing: time 9.127e-06/0.4581, allocations: 4 kB / 0.5411 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Initialization: time 1.502e-06/0.4581, allocations: 0 / 0.5411 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Tearing: time 8.336e-06/0.4581, allocations: 6.844 kB / 0.5411 GB, free: 1.141 MB / 382.1 MB Notification: Performance of Categorize: time 2.378e-05/0.4581, allocations: 6.469 kB / 0.5411 GB, free: 1.137 MB / 382.1 MB Notification: Performance of Solve: time 0.0004895/0.4586, allocations: 322.8 kB / 0.5414 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of Jacobian: time 2.926e-06/0.4587, allocations: 2.875 kB / 0.5414 GB, free: 0.9727 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 0.0001499/0.4588, allocations: 44.42 kB / 0.5414 GB, free: 0.9375 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");