Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001094/0.001094, allocations: 113.9 kB / 17.1 MB, free: 5.984 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.001069/0.001069, allocations: 190.8 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2697/0.2697, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.023e-05, allocations: 2.281 kB / 442.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03097/0.03099, allocations: 28.53 MB / 471 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02541/0.05648, allocations: 16.94 MB / 487.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.0572, allocations: 15.88 kB / 487.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009255/0.05813, allocations: 254.3 kB / 488.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01716/0.07538, allocations: 4.541 MB / 492.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.08178, allocations: 1.883 MB / 494.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.0836, allocations: 1.083 MB / 495.7 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.08411, allocations: 284.9 kB / 495.9 MB, free: 16 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.08524, allocations: 0.5292 MB / 496.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.08921, allocations: 1.874 MB / 498.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.08933, allocations: 36 kB / 498.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/0.1041, allocations: 6.985 MB / 0.4935 GB, free: 6.559 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001048/0.1052, allocations: 0.812 MB / 0.4943 GB, free: 5.738 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004509/0.1056, allocations: 0.5204 MB / 0.4948 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.1058, allocations: 75.81 kB / 0.4949 GB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000238/0.1061, allocations: 23.92 kB / 0.4949 GB, free: 5.113 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.002789/0.1089, allocations: 2.376 MB / 0.4972 GB, free: 2.617 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001803/0.1091, allocations: 107.8 kB / 0.4973 GB, free: 2.512 MB / 382.1 MB Notification: Performance of Early Inline: time 0.00208/0.1111, allocations: 1.707 MB / 0.499 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001384/0.1113, allocations: 107.8 kB / 0.4991 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of Alias: time 0.002123/0.1134, allocations: 1.428 MB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001175/0.1136, allocations: 103.9 kB / 0.5006 GB, free: 15.01 MB / 398.1 MB Notification: Performance of Events: time 0.0005021/0.1141, allocations: 309.9 kB / 0.5009 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Detect States: time 0.0004171/0.1145, allocations: 373.1 kB / 0.5013 GB, free: 14.33 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0006649/0.1152, allocations: 0.5381 MB / 0.5018 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Causalize: time 0.002726/0.1179, allocations: 2.297 MB / 0.504 GB, free: 11.34 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.001491/0.1194, allocations: 1.316 MB / 0.5053 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Inline: time 0.003123/0.1226, allocations: 2.345 MB / 0.5076 GB, free: 7.613 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001405/0.1227, allocations: 91.59 kB / 0.5077 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0002892/0.123, allocations: 235.5 kB / 0.5079 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Causalize: time 0.006922/0.1299, allocations: 5.242 MB / 0.513 GB, free: 2.012 MB / 398.1 MB Notification: Performance of Tearing: time 1.138e-05/0.13, allocations: 0 / 0.513 GB, free: 2.012 MB / 398.1 MB Notification: Performance of Initialization: time 1.172e-06/0.13, allocations: 0 / 0.513 GB, free: 2.012 MB / 398.1 MB Notification: Performance of Tearing: time 9.167e-06/0.13, allocations: 0 / 0.513 GB, free: 2.012 MB / 398.1 MB Notification: Performance of Categorize: time 3.465e-05/0.13, allocations: 7.938 kB / 0.513 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Solve: time 0.001165/0.1312, allocations: 0.6688 MB / 0.5137 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Jacobian: time 4.238e-06/0.1312, allocations: 0 / 0.5137 GB, free: 1.285 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.0001924/0.1314, allocations: 60.08 kB / 0.5138 GB, free: 1.23 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");