Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 110.1 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.001137/0.001137, allocations: 207.9 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.136/1.136, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.177/0.177, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.283e-05, allocations: 2.281 kB / 481.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.2199/0.22, allocations: 82.43 MB / 0.5511 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.2494, allocations: 28.42 MB / 0.5789 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2508, allocations: 47.62 kB / 0.5789 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.2528, allocations: 0.9742 MB / 0.5799 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.2635, allocations: 5.096 MB / 0.5848 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.2754, allocations: 5.703 MB / 0.5904 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.2791, allocations: 4.112 MB / 0.5944 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.2802, allocations: 1.031 MB / 0.5954 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.2819, allocations: 1.604 MB / 0.597 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.283, allocations: 1.085 MB / 0.5981 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.2832, allocations: 140 kB / 0.5982 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.2955, allocations: 8.058 MB / 0.6061 GB, free: 7.613 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001905/0.2974, allocations: 2.85 MB / 0.6089 GB, free: 4.734 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009944/0.2984, allocations: 1.826 MB / 0.6106 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.2988, allocations: 295.2 kB / 0.6109 GB, free: 2.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002878/0.2991, allocations: 55.81 kB / 0.611 GB, free: 2.543 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.006401/0.3055, allocations: 8.314 MB / 0.6191 GB, free: 9.957 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002847/0.3058, allocations: 355.5 kB / 0.6194 GB, free: 9.609 MB / 462.1 MB Notification: Performance of Early Inline: time 0.005557/0.3114, allocations: 6.339 MB / 0.6256 GB, free: 3.191 MB / 462.1 MB Notification: Performance of simplify1: time 0.0003474/0.3117, allocations: 391.4 kB / 0.626 GB, free: 2.809 MB / 462.1 MB Notification: Performance of Alias: time 0.005003/0.3167, allocations: 5.394 MB / 0.6313 GB, free: 12.94 MB / 478.1 MB Notification: Performance of simplify2: time 0.0002912/0.317, allocations: 359.5 kB / 0.6316 GB, free: 12.59 MB / 478.1 MB Notification: Performance of Events: time 0.001448/0.3185, allocations: 1.615 MB / 0.6332 GB, free: 10.93 MB / 478.1 MB Notification: Performance of Detect States: time 0.0009707/0.3195, allocations: 1.315 MB / 0.6345 GB, free: 9.582 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001835/0.3213, allocations: 2.197 MB / 0.6366 GB, free: 6.945 MB / 478.1 MB Notification: Performance of Causalize: time 0.00828/0.3296, allocations: 8.635 MB / 0.645 GB, free: 13.86 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.004015/0.3336, allocations: 4.86 MB / 0.6498 GB, free: 8.941 MB / 494.1 MB Notification: Performance of Inline: time 0.007665/0.3413, allocations: 8.871 MB / 0.6585 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0003779/0.3417, allocations: 335.4 kB / 0.6588 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0007296/0.3424, allocations: 0.8757 MB / 0.6596 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Causalize: time 0.02007/0.3625, allocations: 19.92 MB / 0.6791 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of Tearing: time 2.703e-05/0.3626, allocations: 0 / 0.6791 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of Initialization: time 4.81e-07/0.3626, allocations: 0 / 0.6791 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of Tearing: time 3.586e-05/0.3626, allocations: 23.75 kB / 0.6791 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of Categorize: time 6.381e-05/0.3627, allocations: 15.94 kB / 0.6791 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of Solve: time 0.002523/0.3652, allocations: 1.877 MB / 0.6809 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Jacobian: time 4.959e-06/0.3652, allocations: 0 / 0.6809 GB, free: 8.512 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: ......... 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.0001307/0.3654, allocations: 170.4 kB / 0.6811 GB, free: 8.348 MB / 0.5137 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");