Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001205/0.001205, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001156/0.001157, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.229/1.229, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1554/0.1554, allocations: 37.99 MB / 308.6 MB, free: 5.984 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.112e-05, allocations: 5.797 kB / 433.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02134/0.02136, allocations: 28.52 MB / 462.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.04037, allocations: 16.96 MB / 479.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.04072, allocations: 15.88 kB / 479.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.04138, allocations: 254.3 kB / 479.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009739/0.05117, allocations: 4.54 MB / 483.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.05576, allocations: 1.879 MB / 485.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.05701, allocations: 1.083 MB / 486.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.05742, allocations: 292.8 kB / 487.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/0.05822, allocations: 0.5214 MB / 487.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003549/0.06178, allocations: 1.885 MB / 489.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.06185, allocations: 40 kB / 489.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.07188, allocations: 6.993 MB / 496.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0005801/0.07248, allocations: 0.8159 MB / 497.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002902/0.07278, allocations: 0.5049 MB / 497.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.0729, allocations: 83.75 kB / 498 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.531e-05/0.073, allocations: 15.94 kB / 498 MB, free: 13.84 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.001939/0.07494, allocations: 2.273 MB / 0.4885 GB, free: 11.45 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.000129/0.07508, allocations: 111.8 kB / 0.4887 GB, free: 11.34 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001747/0.07683, allocations: 1.703 MB / 0.4903 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001067/0.07695, allocations: 107.8 kB / 0.4904 GB, free: 9.5 MB / 382.1 MB Notification: Performance of Alias: time 0.001532/0.07849, allocations: 1.354 MB / 0.4917 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simplify2: time 9.139e-05/0.07859, allocations: 99.88 kB / 0.4918 GB, free: 7.914 MB / 382.1 MB Notification: Performance of Events: time 0.0004034/0.079, allocations: 310.2 kB / 0.4921 GB, free: 7.617 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003262/0.07934, allocations: 376.8 kB / 0.4925 GB, free: 7.23 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0005359/0.07988, allocations: 0.5342 MB / 0.493 GB, free: 6.621 MB / 382.1 MB Notification: Performance of Causalize: time 0.003121/0.08301, allocations: 3.212 MB / 0.4962 GB, free: 3.371 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001269/0.08429, allocations: 1.317 MB / 0.4974 GB, free: 2.031 MB / 382.1 MB Notification: Performance of Inline: time 0.002249/0.08655, allocations: 2.333 MB / 0.4997 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Partitioning: time 9.133e-05/0.08666, allocations: 91.61 kB / 0.4998 GB, free: 15.56 MB / 398.1 MB Notification: Performance of Cleanup: time 0.000206/0.08687, allocations: 243.7 kB / 0.5 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Causalize: time 0.005841/0.09272, allocations: 6.651 MB / 0.5065 GB, free: 8.805 MB / 398.1 MB Notification: Performance of Tearing: time 1.08e-05/0.09274, allocations: 4 kB / 0.5065 GB, free: 8.801 MB / 398.1 MB Notification: Performance of Initialization: time 6.31e-07/0.09275, allocations: 0 / 0.5065 GB, free: 8.801 MB / 398.1 MB Notification: Performance of Tearing: time 1.403e-05/0.09277, allocations: 4 kB / 0.5065 GB, free: 8.797 MB / 398.1 MB Notification: Performance of Categorize: time 2.325e-05/0.0928, allocations: 7.938 kB / 0.5065 GB, free: 8.789 MB / 398.1 MB Notification: Performance of Solve: time 0.0008496/0.09365, allocations: 0.6616 MB / 0.5072 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Jacobian: time 5.69e-06/0.09367, allocations: 3.938 kB / 0.5072 GB, free: 8.074 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.0001246/0.0938, allocations: 73.56 kB / 0.5073 GB, free: 8.027 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");