Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.0009772, allocations: 107.4 kB / 18.46 MB, free: 4.617 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.001877/0.001877, allocations: 189.3 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.845e-05, allocations: 4.531 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03804/0.03808, allocations: 28.53 MB / 499.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3394/0.3776, allocations: 16.95 MB / 0.5045 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008075/0.3784, allocations: 13.56 kB / 0.5045 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.3794, allocations: 265.2 kB / 0.5048 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01845/0.3978, allocations: 4.542 MB / 0.5092 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00632/0.4042, allocations: 1.888 MB / 0.5111 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.4063, allocations: 1.087 MB / 0.5121 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.4069, allocations: 285.8 kB / 0.5124 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.4082, allocations: 0.5255 MB / 0.5129 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.4128, allocations: 1.881 MB / 0.5147 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.413, allocations: 37.75 kB / 0.5148 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01732/0.4303, allocations: 6.993 MB / 0.5216 GB, free: 10.57 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001108/0.4315, allocations: 0.8235 MB / 0.5224 GB, free: 10.18 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003017/0.4318, allocations: 0.5112 MB / 0.5229 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.432, allocations: 83.62 kB / 0.523 GB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001924/0.4322, allocations: 14 kB / 0.523 GB, free: 9.836 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.002212/0.4344, allocations: 2.383 MB / 0.5253 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001486/0.4345, allocations: 107.4 kB / 0.5254 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001759/0.4363, allocations: 1.709 MB / 0.5271 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001031/0.4364, allocations: 104 kB / 0.5272 GB, free: 8.273 MB / 382.1 MB Notification: Performance of Alias: time 0.001441/0.4379, allocations: 1.436 MB / 0.5286 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simplify2: time 7.963e-05/0.438, allocations: 102.6 kB / 0.5287 GB, free: 7.344 MB / 382.1 MB Notification: Performance of Events: time 0.0003794/0.4384, allocations: 306 kB / 0.529 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Detect States: time 0.0004845/0.4388, allocations: 386.7 kB / 0.5294 GB, free: 6.836 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0004647/0.4393, allocations: 0.535 MB / 0.5299 GB, free: 6.441 MB / 382.1 MB Notification: Performance of Causalize: time 0.002147/0.4415, allocations: 2.285 MB / 0.5321 GB, free: 5.43 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001014/0.4425, allocations: 1.32 MB / 0.5334 GB, free: 4.422 MB / 382.1 MB Notification: Performance of Inline: time 0.001992/0.4445, allocations: 2.338 MB / 0.5357 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Partitioning: time 9.13e-05/0.4446, allocations: 94.06 kB / 0.5358 GB, free: 2.68 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0001747/0.4448, allocations: 241.9 kB / 0.536 GB, free: 2.492 MB / 382.1 MB Notification: Performance of Causalize: time 0.005262/0.45, allocations: 5.251 MB / 0.5411 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Tearing: time 9.338e-06/0.4501, allocations: 3.938 kB / 0.5411 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Initialization: time 1.203e-06/0.4501, allocations: 0 / 0.5411 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Tearing: time 1.037e-05/0.4501, allocations: 0 / 0.5411 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Categorize: time 2.773e-05/0.4501, allocations: 4 kB / 0.5411 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Solve: time 0.001042/0.4512, allocations: 0.6706 MB / 0.5418 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Jacobian: time 3.617e-06/0.4512, allocations: 0 / 0.5418 GB, free: 14.32 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 7.948e-05/0.4513, allocations: 57.67 kB / 0.5419 GB, free: 14.26 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");