Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001079/0.001078, allocations: 111.3 kB / 18.46 MB, free: 4.594 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.001473/0.001473, allocations: 193.3 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 243.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.415e-05, allocations: 5.656 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.3927/0.3928, allocations: 82.26 MB / 0.5404 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04742/0.4402, allocations: 28.44 MB / 0.5682 GB, free: 260 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003879/0.4442, allocations: 47.53 kB / 0.5683 GB, free: 236 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.4481, allocations: 0.9785 MB / 0.5692 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01771/0.4658, allocations: 5.104 MB / 0.5742 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.4832, allocations: 5.693 MB / 0.5798 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006502/0.4897, allocations: 4.116 MB / 0.5838 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.4918, allocations: 1.042 MB / 0.5848 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.4954, allocations: 1.608 MB / 0.5864 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.4976, allocations: 1.093 MB / 0.5874 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.4979, allocations: 140 kB / 0.5876 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.515, allocations: 8.019 MB / 0.5954 GB, free: 5.102 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.003404/0.5184, allocations: 2.869 MB / 0.5982 GB, free: 2.203 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001506/0.52, allocations: 1.823 MB / 0.6 GB, free: 372 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.5206, allocations: 291.2 kB / 0.6003 GB, free: 80 kB / 430.1 MB Notification: Performance of FrontEnd: time 0.0004416/0.521, allocations: 71.73 kB / 0.6003 GB, free: 8 kB / 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.008254/0.5293, allocations: 8.164 MB / 0.6083 GB, free: 7.57 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0004195/0.5297, allocations: 351.4 kB / 0.6086 GB, free: 7.227 MB / 446.1 MB Notification: Performance of Early Inline: time 0.007538/0.5372, allocations: 6.381 MB / 0.6149 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simplify1: time 0.0005264/0.5378, allocations: 383.5 kB / 0.6152 GB, free: 400 kB / 446.1 MB Notification: Performance of Alias: time 0.007615/0.5454, allocations: 5.398 MB / 0.6205 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simplify2: time 0.00069/0.5461, allocations: 359.5 kB / 0.6209 GB, free: 10.15 MB / 462.1 MB Notification: Performance of Events: time 0.002152/0.5483, allocations: 1.67 MB / 0.6225 GB, free: 8.449 MB / 462.1 MB Notification: Performance of Detect States: time 0.001365/0.5497, allocations: 1.331 MB / 0.6238 GB, free: 7.086 MB / 462.1 MB Notification: Performance of Partitioning: time 0.002717/0.5524, allocations: 2.225 MB / 0.626 GB, free: 4.457 MB / 462.1 MB Notification: Performance of Causalize: time 0.01119/0.5636, allocations: 8.912 MB / 0.6347 GB, free: 11.11 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.005853/0.5695, allocations: 4.95 MB / 0.6395 GB, free: 6.105 MB / 478.1 MB Notification: Performance of Inline: time 0.0102/0.5797, allocations: 8.79 MB / 0.6481 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0005511/0.5803, allocations: 331 kB / 0.6484 GB, free: 12.85 MB / 494.1 MB Notification: Performance of Cleanup: time 0.001204/0.5816, allocations: 0.8599 MB / 0.6492 GB, free: 11.97 MB / 494.1 MB Notification: Performance of Causalize: time 0.02566/0.6072, allocations: 20.03 MB / 0.6688 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of Tearing: time 1.735e-05/0.6073, allocations: 0 / 0.6688 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of Initialization: time 1.352e-06/0.6073, allocations: 0 / 0.6688 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of Tearing: time 3.217e-05/0.6073, allocations: 15.88 kB / 0.6688 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of Categorize: time 0.0001011/0.6074, allocations: 15.94 kB / 0.6688 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of Solve: time 0.003165/0.6106, allocations: 1.372 MB / 0.6702 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of Jacobian: time 5.07e-06/0.6106, allocations: 0 / 0.6702 GB, free: 6.211 MB / 0.4981 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.0002229/0.6108, allocations: 168.5 kB / 0.6703 GB, free: 6.051 MB / 0.4981 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");