Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 115.2 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 205 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.148/1.148, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1759/0.1759, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/9.618e-06, allocations: 2.281 kB / 481.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.2248/0.2248, allocations: 82.47 MB / 0.5512 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0298/0.2547, allocations: 28.44 MB / 0.5789 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.256, allocations: 47.62 kB / 0.579 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.258, allocations: 0.978 MB / 0.5799 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.2685, allocations: 5.12 MB / 0.5849 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.2805, allocations: 5.689 MB / 0.5905 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.2848, allocations: 4.112 MB / 0.5945 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2859, allocations: 1.043 MB / 0.5955 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.2876, allocations: 1.608 MB / 0.5971 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.2887, allocations: 1.093 MB / 0.5982 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.2889, allocations: 140 kB / 0.5983 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/0.3008, allocations: 8.027 MB / 0.6061 GB, free: 7.457 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001983/0.3028, allocations: 2.865 MB / 0.6089 GB, free: 4.562 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001031/0.3038, allocations: 1.832 MB / 0.6107 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.3041, allocations: 299.2 kB / 0.611 GB, free: 2.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002893/0.3044, allocations: 67.73 kB / 0.6111 GB, free: 2.355 MB / 446.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.006335/0.3108, allocations: 8.168 MB / 0.6191 GB, free: 9.91 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002981/0.3111, allocations: 351.4 kB / 0.6194 GB, free: 9.566 MB / 462.1 MB Notification: Performance of Early Inline: time 0.005644/0.3167, allocations: 6.374 MB / 0.6256 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simplify1: time 0.0003225/0.3171, allocations: 387.5 kB / 0.626 GB, free: 2.734 MB / 462.1 MB Notification: Performance of Alias: time 0.005063/0.3221, allocations: 5.383 MB / 0.6312 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simplify2: time 0.0003053/0.3225, allocations: 367.4 kB / 0.6316 GB, free: 12.5 MB / 478.1 MB Notification: Performance of Events: time 0.001573/0.324, allocations: 1.675 MB / 0.6332 GB, free: 10.79 MB / 478.1 MB Notification: Performance of Detect States: time 0.001093/0.3251, allocations: 1.323 MB / 0.6345 GB, free: 9.43 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001968/0.3271, allocations: 2.218 MB / 0.6367 GB, free: 6.805 MB / 478.1 MB Notification: Performance of Causalize: time 0.008851/0.336, allocations: 8.913 MB / 0.6454 GB, free: 13.46 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.004191/0.3402, allocations: 4.95 MB / 0.6502 GB, free: 8.445 MB / 494.1 MB Notification: Performance of Inline: time 0.007903/0.3481, allocations: 8.794 MB / 0.6588 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0003885/0.3485, allocations: 338.9 kB / 0.6591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.000736/0.3493, allocations: 0.8599 MB / 0.66 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Causalize: time 0.02101/0.3703, allocations: 20.03 MB / 0.6795 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of Tearing: time 2.8e-05/0.3703, allocations: 0 / 0.6795 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of Initialization: time 1.002e-06/0.3703, allocations: 4 kB / 0.6795 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of Tearing: time 2.991e-05/0.3704, allocations: 19.81 kB / 0.6796 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of Categorize: time 7.313e-05/0.3705, allocations: 15.94 kB / 0.6796 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of Solve: time 0.002485/0.3729, allocations: 1.375 MB / 0.6809 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of Jacobian: time 3.266e-06/0.373, allocations: 4 kB / 0.6809 GB, free: 8.531 MB / 0.5137 GB 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.0001238/0.3731, allocations: 162.1 kB / 0.6811 GB, free: 8.383 MB / 0.5137 GB 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");