Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 114.8 kB / 17.1 MB, free: 5.98 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.001469/0.001469, allocations: 196.3 kB / 18.03 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, 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.2761/0.2761, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.73e-05, allocations: 2.281 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.1061/0.1062, allocations: 82.23 MB / 0.5124 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.464/0.5703, allocations: 28.42 MB / 0.5401 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003841/0.5742, allocations: 46.41 kB / 0.5402 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.5783, allocations: 0.9812 MB / 0.5411 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02163/0.5999, allocations: 5.067 MB / 0.5461 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02437/0.6244, allocations: 5.694 MB / 0.5516 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.6355, allocations: 4.104 MB / 0.5556 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.6382, allocations: 1.04 MB / 0.5567 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005012/0.6432, allocations: 1.601 MB / 0.5582 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.6456, allocations: 1.094 MB / 0.5593 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.6458, allocations: 137.2 kB / 0.5594 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02763/0.6735, allocations: 8.026 MB / 0.5673 GB, free: 2.57 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.004397/0.6779, allocations: 2.849 MB / 0.57 GB, free: 1.066 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001249/0.6792, allocations: 1.82 MB / 0.5718 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000839/0.6801, allocations: 291.6 kB / 0.5721 GB, free: 15.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0004852/0.6806, allocations: 66.02 kB / 0.5722 GB, free: 15.86 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 (269) * Number of variables: 301 (301) Notification: Performance of Bindings: time 0.01138/0.6919, allocations: 8.139 MB / 0.5801 GB, free: 12.23 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0005022/0.6925, allocations: 350.5 kB / 0.5804 GB, free: 12.16 MB / 430.1 MB Notification: Performance of Early Inline: time 0.008817/0.7013, allocations: 6.378 MB / 0.5867 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simplify1: time 0.0004976/0.7018, allocations: 393.1 kB / 0.587 GB, free: 8.422 MB / 430.1 MB Notification: Performance of Alias: time 0.008016/0.7098, allocations: 5.395 MB / 0.5923 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simplify2: time 0.0007494/0.7106, allocations: 347 kB / 0.5926 GB, free: 2.332 MB / 430.1 MB Notification: Performance of Events: time 0.002459/0.7131, allocations: 1.676 MB / 0.5943 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of Detect States: time 0.001555/0.7147, allocations: 1.336 MB / 0.5956 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Partitioning: time 0.003128/0.7178, allocations: 2.224 MB / 0.5978 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Causalize: time 0.01276/0.7306, allocations: 8.906 MB / 0.6065 GB, free: 3.488 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.005951/0.7366, allocations: 4.942 MB / 0.6113 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Inline: time 0.01202/0.7486, allocations: 8.812 MB / 0.6199 GB, free: 5.855 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0007858/0.7495, allocations: 331 kB / 0.6202 GB, free: 5.504 MB / 462.1 MB Notification: Performance of Cleanup: time 0.002276/0.7517, allocations: 0.8575 MB / 0.621 GB, free: 4.664 MB / 462.1 MB Notification: Performance of Causalize: time 0.03569/0.7874, allocations: 20.03 MB / 0.6406 GB, free: 444 kB / 478.1 MB Notification: Performance of Tearing: time 3.961e-05/0.7875, allocations: 7.922 kB / 0.6406 GB, free: 436 kB / 478.1 MB Notification: Performance of Initialization: time 2.415e-06/0.7875, allocations: 0 / 0.6406 GB, free: 436 kB / 478.1 MB Notification: Performance of Tearing: time 6.695e-05/0.7876, allocations: 15.88 kB / 0.6406 GB, free: 420 kB / 478.1 MB Notification: Performance of Categorize: time 0.0001637/0.7878, allocations: 11.94 kB / 0.6406 GB, free: 408 kB / 478.1 MB Notification: Performance of Solve: time 0.005546/0.7933, allocations: 1.364 MB / 0.642 GB, free: 15.04 MB / 494.1 MB Notification: Performance of Jacobian: time 1.01e-05/0.7934, allocations: 4 kB / 0.642 GB, free: 15.03 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 24 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 26 * 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: ................. 95 (95) {source1.medium.state.phase, source1.medium.phase, valve_linear.state_a.phase, valve_linear.state_b.phase, sink1.medium.state.phase, sink1.medium.phase, valve_constant.state_a.phase, valve_constant.state_b.phase, valve_quadratic.state_a.phase, valve_quadratic.state_b.phase, source2.medium.state.phase, source2.medium.phase, sink2.medium.state.phase, sink2.medium.phase, source3.medium.state.phase, source3.medium.phase, sink3.medium.state.phase, sink3.medium.phase, valve_equalPercentage.state_a.phase, valve_equalPercentage.state_b.phase, source4.medium.state.phase, source4.medium.phase, sink4.medium.state.phase, sink4.medium.phase, $SEV_68, $SEV_67, $SEV_66, $SEV_65, $SEV_64, $SEV_63, $SEV_62, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47[$i1], $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38[$i1], $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23[$i1], $SEV_22, $SEV_21, $SEV_20[$i1], $SEV_19, $SEV_18, $SEV_17[$i1], $SEV_16, $SEV_15, $SEV_14[$i1], $SEV_13, $SEV_12, $SEV_11, $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_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: ........... 290 (scalar:274, array:16, 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: ........... 357 (scalar:341, array:16, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 357 (scalar:341, array:16, 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.0004487/0.7938, allocations: 169 kB / 0.6421 GB, free: 14.87 MB / 494.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_223) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, source1.X_in_internal, "Boundary_pT");