Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestValveCoefficients,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 107.5 kB / 18.47 MB, free: 4.57 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: 191 kB / 19.39 MB, free: 3.652 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.417/1.417, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2203/0.2203, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/2.911e-05, allocations: 4.109 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.3491/0.3492, allocations: 82.21 MB / 0.5404 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03597/0.3852, allocations: 28.42 MB / 0.5682 GB, free: 348 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.3892, allocations: 47.16 kB / 0.5682 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004536/0.3937, allocations: 0.973 MB / 0.5692 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0199/0.4137, allocations: 5.093 MB / 0.5741 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/0.4329, allocations: 5.694 MB / 0.5797 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007054/0.44, allocations: 4.112 MB / 0.5837 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.4424, allocations: 1.035 MB / 0.5847 GB, free: 80 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.4469, allocations: 1.608 MB / 0.5863 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.4493, allocations: 1.089 MB / 0.5874 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.4496, allocations: 140 kB / 0.5875 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02138/0.471, allocations: 8.043 MB / 0.5953 GB, free: 5.184 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.004703/0.4757, allocations: 2.861 MB / 0.5981 GB, free: 2.293 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001988/0.4777, allocations: 1.826 MB / 0.5999 GB, free: 460 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009252/0.4787, allocations: 295.2 kB / 0.6002 GB, free: 164 kB / 430.1 MB Notification: Performance of FrontEnd: time 0.0006164/0.4793, allocations: 59.75 kB / 0.6003 GB, free: 104 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.00947/0.4888, allocations: 8.3 MB / 0.6084 GB, free: 7.535 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0005041/0.4893, allocations: 359.4 kB / 0.6087 GB, free: 7.184 MB / 446.1 MB Notification: Performance of Early Inline: time 0.007288/0.4966, allocations: 6.336 MB / 0.6149 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of simplify1: time 0.0005129/0.4971, allocations: 391.5 kB / 0.6153 GB, free: 396 kB / 446.1 MB Notification: Performance of Alias: time 0.007371/0.5045, allocations: 5.387 MB / 0.6205 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simplify2: time 0.0007554/0.5053, allocations: 359.5 kB / 0.6209 GB, free: 10.17 MB / 462.1 MB Notification: Performance of Events: time 0.002058/0.5074, allocations: 1.621 MB / 0.6225 GB, free: 8.508 MB / 462.1 MB Notification: Performance of Detect States: time 0.001331/0.5087, allocations: 1.311 MB / 0.6237 GB, free: 7.164 MB / 462.1 MB Notification: Performance of Partitioning: time 0.002549/0.5113, allocations: 2.205 MB / 0.6259 GB, free: 4.52 MB / 462.1 MB Notification: Performance of Causalize: time 0.01021/0.5215, allocations: 8.639 MB / 0.6343 GB, free: 11.43 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.006079/0.5276, allocations: 4.856 MB / 0.6391 GB, free: 6.52 MB / 478.1 MB Notification: Performance of Inline: time 0.01155/0.5392, allocations: 8.867 MB / 0.6477 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0006684/0.5399, allocations: 347.4 kB / 0.6481 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Cleanup: time 0.00142/0.5413, allocations: 0.8718 MB / 0.6489 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Causalize: time 0.02759/0.5689, allocations: 19.9 MB / 0.6683 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of Tearing: time 4.034e-05/0.569, allocations: 3.938 kB / 0.6683 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of Initialization: time 1.814e-06/0.5691, allocations: 0 / 0.6683 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of Tearing: time 6.645e-05/0.5691, allocations: 11.94 kB / 0.6684 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of Categorize: time 0.000161/0.5693, allocations: 19.88 kB / 0.6684 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of Solve: time 0.00484/0.5741, allocations: 1.697 MB / 0.67 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of Jacobian: time 5.921e-06/0.5742, allocations: 0 / 0.67 GB, free: 6.281 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: ......... 32 * 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: ................. 92 (92) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, SourceP2.medium.state.phase, SourceP2.medium.phase, V2.state_a.phase, V2.state_b.phase, SinkP2.medium.state.phase, SinkP2.medium.phase, SourceP3.medium.state.phase, SourceP3.medium.phase, V3.state_a.phase, V3.state_b.phase, SinkP3.medium.state.phase, SinkP3.medium.phase, SourceP4.medium.state.phase, SourceP4.medium.phase, V4.state_a.phase, V4.state_b.phase, SinkP4.medium.state.phase, SinkP4.medium.phase, $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, $SEV_46[$i1], $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37[$i1], $SEV_36, $SEV_35, $SEV_34[$i1], $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25[$i1], $SEV_24, $SEV_23, $SEV_22[$i1], $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13[$i1], $SEV_12, $SEV_11, $SEV_10[$i1], $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 284 (scalar:268, 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: ........... 371 (scalar:355, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 371 (scalar:355, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0002865/0.5745, allocations: 173.5 kB / 0.6702 GB, free: 6.113 MB / 0.4981 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_226) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");