Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 105.1 kB / 16.42 MB, free: 6.465 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.001123/0.001123, allocations: 192.2 kB / 17.36 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.212/1.212, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1558/0.1558, allocations: 38 MB / 308.6 MB, free: 6 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/1.917e-05, allocations: 2.281 kB / 433.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02371/0.02374, allocations: 28.12 MB / 461.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.03761, allocations: 13.3 MB / 475 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.0379, allocations: 11.88 kB / 475 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.03854, allocations: 262.3 kB / 475.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007813/0.04636, allocations: 3.657 MB / 479 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.05185, allocations: 2.369 MB / 481.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.05295, allocations: 0.9892 MB / 482.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.05334, allocations: 273.1 kB / 482.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.05403, allocations: 490.1 kB / 483.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.05435, allocations: 298.8 kB / 483.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.05441, allocations: 36 kB / 483.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.06478, allocations: 6.716 MB / 490.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0005817/0.06539, allocations: 0.7114 MB / 490.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002796/0.06567, allocations: 469.7 kB / 491.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.06579, allocations: 79.75 kB / 491.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.672e-05/0.0659, allocations: 8 kB / 491.4 MB, free: 4.555 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 (65) * Number of variables: 73 (73) Notification: Performance of Bindings: time 0.001778/0.06768, allocations: 2.086 MB / 493.4 MB, free: 2.355 MB / 366.1 MB Notification: Performance of FunctionAlias: time 8.476e-05/0.06777, allocations: 91.75 kB / 493.5 MB, free: 2.266 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001452/0.06923, allocations: 1.514 MB / 495.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simplify1: time 8.727e-05/0.06933, allocations: 95.88 kB / 495.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of Alias: time 0.001282/0.07061, allocations: 1.202 MB / 496.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simplify2: time 8.838e-05/0.07071, allocations: 91.89 kB / 496.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of Events: time 0.0003548/0.07108, allocations: 295 kB / 496.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Detect States: time 0.0004535/0.07154, allocations: 354.4 kB / 497.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0005017/0.07205, allocations: 0.5145 MB / 497.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Causalize: time 0.002781/0.07484, allocations: 2.948 MB / 0.4888 GB, free: 10.95 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001162/0.07601, allocations: 1.211 MB / 0.49 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Inline: time 0.002/0.07802, allocations: 2.097 MB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Partitioning: time 8.527e-05/0.07811, allocations: 87.59 kB / 0.4921 GB, free: 7.48 MB / 382.1 MB Notification: Performance of Cleanup: time 8.035e-05/0.0782, allocations: 99.91 kB / 0.4922 GB, free: 7.383 MB / 382.1 MB Notification: Performance of Causalize: time 0.002499/0.08071, allocations: 2.897 MB / 0.495 GB, free: 4.539 MB / 382.1 MB Notification: Performance of Tearing: time 7.544e-06/0.08073, allocations: 7.938 kB / 0.4951 GB, free: 4.531 MB / 382.1 MB Notification: Performance of Initialization: time 3.21e-07/0.08074, allocations: 4 kB / 0.4951 GB, free: 4.527 MB / 382.1 MB Notification: Performance of Tearing: time 5.28e-06/0.08075, allocations: 7.922 kB / 0.4951 GB, free: 4.52 MB / 382.1 MB Notification: Performance of Categorize: time 2.044e-05/0.08077, allocations: 4 kB / 0.4951 GB, free: 4.516 MB / 382.1 MB Notification: Performance of Solve: time 0.0004943/0.08127, allocations: 318.5 kB / 0.4954 GB, free: 4.207 MB / 382.1 MB Notification: Performance of Jacobian: time 3.777e-06/0.08128, allocations: 0 / 0.4954 GB, free: 4.207 MB / 382.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: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 21 (21) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $TEV_3, $TEV_2, $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: ........... 70 (scalar:66, 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: ........... 82 (scalar:78, 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: Performance of backend: time 0.0001719/0.08146, allocations: 44.88 kB / 0.4954 GB, free: 4.18 MB / 382.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_41) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");