Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001169/0.001169, allocations: 105.8 kB / 16.42 MB, free: 6.52 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.00111/0.00111, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.253/1.253, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1682/0.1682, allocations: 39.96 MB / 310.5 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.791e-05, allocations: 10.16 kB / 436.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02498/0.02501, allocations: 28.51 MB / 464.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02014/0.0452, allocations: 16.96 MB / 481.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.04571, allocations: 11.88 kB / 481.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.04645, allocations: 258.3 kB / 482.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.05766, allocations: 4.547 MB / 486.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.06212, allocations: 1.876 MB / 488.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.06343, allocations: 1.087 MB / 489.6 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.06387, allocations: 284.9 kB / 489.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.06473, allocations: 0.5253 MB / 490.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.06844, allocations: 1.893 MB / 492.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.06853, allocations: 40 kB / 492.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/0.0791, allocations: 6.985 MB / 499.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.000657/0.07978, allocations: 0.8081 MB / 0.4884 GB, free: 11.92 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000311/0.0801, allocations: 0.5088 MB / 0.4889 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.08024, allocations: 83.75 kB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001122/0.08036, allocations: 19.88 kB / 0.489 GB, free: 11.3 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.002125/0.08249, allocations: 2.281 MB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001663/0.08266, allocations: 107.8 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001781/0.08445, allocations: 1.707 MB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001034/0.08456, allocations: 107.8 kB / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of Alias: time 0.001505/0.08608, allocations: 1.343 MB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001092/0.0862, allocations: 107.8 kB / 0.4946 GB, free: 5.375 MB / 382.1 MB Notification: Performance of Events: time 0.0004019/0.08661, allocations: 310.4 kB / 0.4949 GB, free: 5.074 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003258/0.08694, allocations: 370.4 kB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0005117/0.08746, allocations: 0.542 MB / 0.4957 GB, free: 4.074 MB / 382.1 MB Notification: Performance of Causalize: time 0.002888/0.09036, allocations: 3.207 MB / 0.4989 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001139/0.09151, allocations: 1.321 MB / 0.5002 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Inline: time 0.002174/0.09369, allocations: 2.337 MB / 0.5024 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Partitioning: time 9.206e-05/0.09379, allocations: 95.61 kB / 0.5025 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0002107/0.09401, allocations: 239.7 kB / 0.5028 GB, free: 12.77 MB / 398.1 MB Notification: Performance of Causalize: time 0.005969/0.09998, allocations: 6.656 MB / 0.5093 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Tearing: time 1.274e-05/0.1, allocations: 0 / 0.5093 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Initialization: time 5.91e-07/0.1, allocations: 0 / 0.5093 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Tearing: time 8.666e-06/0.1, allocations: 4 kB / 0.5093 GB, free: 6.258 MB / 398.1 MB Notification: Performance of Categorize: time 2.547e-05/0.1001, allocations: 3.938 kB / 0.5093 GB, free: 6.254 MB / 398.1 MB Notification: Performance of Solve: time 0.000963/0.101, allocations: 0.6688 MB / 0.5099 GB, free: 5.535 MB / 398.1 MB Notification: Performance of Jacobian: time 3.427e-06/0.1011, allocations: 0 / 0.5099 GB, free: 5.535 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 8.825e-05/0.1011, allocations: 66.16 kB / 0.51 GB, free: 5.488 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");