Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 115.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 214.2 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.146/1.146, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1747/0.1747, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.377e-05, allocations: 2.281 kB / 481.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02497/0.02499, allocations: 28.67 MB / 0.4986 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1713/0.1963, allocations: 16.93 MB / 0.5151 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.1966, allocations: 15.72 kB / 0.5152 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.1972, allocations: 261.5 kB / 0.5154 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009372/0.2066, allocations: 4.57 MB / 0.5199 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.2102, allocations: 1.882 MB / 0.5217 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009281/0.2111, allocations: 1.078 MB / 0.5228 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.2115, allocations: 287.3 kB / 0.523 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.2122, allocations: 0.5454 MB / 0.5236 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.2151, allocations: 1.868 MB / 0.5254 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.2152, allocations: 37.25 kB / 0.5254 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009406/0.2246, allocations: 7.021 MB / 0.5323 GB, free: 8.227 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0004317/0.225, allocations: 0.8178 MB / 0.5331 GB, free: 7.703 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002052/0.2253, allocations: 0.5179 MB / 0.5336 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.2254, allocations: 80.56 kB / 0.5337 GB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.523e-05/0.2255, allocations: 19 kB / 0.5337 GB, free: 7.309 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: 78 (70) * Number of variables: 78 (78) Notification: Performance of Bindings: time 0.001441/0.2269, allocations: 2.381 MB / 0.536 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FunctionAlias: time 9.391e-05/0.227, allocations: 114.6 kB / 0.5361 GB, free: 5.5 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001163/0.2282, allocations: 1.701 MB / 0.5378 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simplify1: time 7.292e-05/0.2283, allocations: 106.2 kB / 0.5379 GB, free: 4.227 MB / 382.1 MB Notification: Performance of Alias: time 0.001067/0.2293, allocations: 1.435 MB / 0.5393 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simplify2: time 7.064e-05/0.2294, allocations: 108.7 kB / 0.5394 GB, free: 3.145 MB / 382.1 MB Notification: Performance of Events: time 0.0002866/0.2297, allocations: 310.3 kB / 0.5397 GB, free: 2.934 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002174/0.2299, allocations: 371.4 kB / 0.54 GB, free: 2.633 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003482/0.2303, allocations: 0.531 MB / 0.5406 GB, free: 2.234 MB / 382.1 MB Notification: Performance of Causalize: time 0.001793/0.2321, allocations: 2.293 MB / 0.5428 GB, free: 1.195 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007856/0.2329, allocations: 1.33 MB / 0.5441 GB, free: 180 kB / 382.1 MB Notification: Performance of Inline: time 0.002068/0.2349, allocations: 2.332 MB / 0.5464 GB, free: 14.15 MB / 398.1 MB Notification: Performance of Partitioning: time 8.898e-05/0.235, allocations: 95.61 kB / 0.5465 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001849/0.2352, allocations: 241.3 kB / 0.5467 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Causalize: time 0.00522/0.2405, allocations: 5.239 MB / 0.5518 GB, free: 8.59 MB / 398.1 MB Notification: Performance of Tearing: time 1.104e-05/0.2405, allocations: 0 / 0.5518 GB, free: 8.59 MB / 398.1 MB Notification: Performance of Initialization: time 3.3e-07/0.2405, allocations: 0 / 0.5518 GB, free: 8.59 MB / 398.1 MB Notification: Performance of Tearing: time 6.682e-06/0.2405, allocations: 7.938 kB / 0.5518 GB, free: 8.582 MB / 398.1 MB Notification: Performance of Categorize: time 1.152e-05/0.2405, allocations: 0 / 0.5518 GB, free: 8.582 MB / 398.1 MB Notification: Performance of Solve: time 0.0007806/0.2413, allocations: 0.8583 MB / 0.5527 GB, free: 7.68 MB / 398.1 MB Notification: Performance of Jacobian: time 2.826e-06/0.2413, allocations: 0 / 0.5527 GB, free: 7.68 MB / 398.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: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 22 (22) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $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: ........... 73 (scalar:69, 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: ........... 91 (scalar:87, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 91 (scalar:87, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001049/0.2414, allocations: 53.27 kB / 0.5527 GB, free: 7.629 MB / 398.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_44) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");