Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00148/0.00148, allocations: 113.8 kB / 17.1 MB, free: 5.82 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.002296/0.002296, allocations: 190.7 kB / 18.03 MB, free: 4.93 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.088/2.088, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2547/0.2547, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.835e-05, allocations: 2.281 kB / 442.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.1044/0.1044, allocations: 82.2 MB / 0.5123 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4413/0.5457, allocations: 28.39 MB / 0.5401 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.5491, allocations: 46.03 kB / 0.5401 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003488/0.5526, allocations: 0.9797 MB / 0.5411 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02187/0.5745, allocations: 5.063 MB / 0.546 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02608/0.6007, allocations: 5.688 MB / 0.5516 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.6119, allocations: 4.099 MB / 0.5556 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.6145, allocations: 1.035 MB / 0.5566 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.6195, allocations: 1.604 MB / 0.5581 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.6231, allocations: 1.087 MB / 0.5592 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.6235, allocations: 139.9 kB / 0.5593 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02636/0.6499, allocations: 8.051 MB / 0.5672 GB, free: 2.566 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.00455/0.6545, allocations: 2.837 MB / 0.57 GB, free: 1.07 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001502/0.656, allocations: 1.814 MB / 0.5717 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009322/0.657, allocations: 289.6 kB / 0.572 GB, free: 15.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0007273/0.6577, allocations: 64.55 kB / 0.5721 GB, free: 15.87 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.01354/0.6713, allocations: 8.277 MB / 0.5802 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0007444/0.672, allocations: 361.6 kB / 0.5805 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Early Inline: time 0.008917/0.681, allocations: 6.337 MB / 0.5867 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simplify1: time 0.0005356/0.6815, allocations: 385.4 kB / 0.5871 GB, free: 8.348 MB / 430.1 MB Notification: Performance of Alias: time 0.009088/0.6906, allocations: 5.388 MB / 0.5923 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simplify2: time 0.001217/0.6919, allocations: 357.9 kB / 0.5927 GB, free: 2.262 MB / 430.1 MB Notification: Performance of Events: time 0.002509/0.6944, allocations: 1.629 MB / 0.5942 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of Detect States: time 0.001822/0.6963, allocations: 1.315 MB / 0.5955 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Partitioning: time 0.003093/0.6994, allocations: 2.205 MB / 0.5977 GB, free: 12.69 MB / 446.1 MB Notification: Performance of Causalize: time 0.0121/0.7115, allocations: 8.641 MB / 0.6061 GB, free: 3.691 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.007435/0.719, allocations: 4.85 MB / 0.6109 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Inline: time 0.01382/0.7329, allocations: 8.873 MB / 0.6195 GB, free: 6.098 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0007493/0.7337, allocations: 343.4 kB / 0.6199 GB, free: 5.738 MB / 462.1 MB Notification: Performance of Cleanup: time 0.001452/0.7352, allocations: 0.864 MB / 0.6207 GB, free: 4.891 MB / 462.1 MB Notification: Performance of Causalize: time 0.03162/0.7668, allocations: 19.91 MB / 0.6401 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of Tearing: time 4.839e-05/0.767, allocations: 0 / 0.6401 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of Initialization: time 2.274e-06/0.767, allocations: 0 / 0.6401 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of Tearing: time 9.504e-05/0.7671, allocations: 23.86 kB / 0.6402 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of Categorize: time 0.0002827/0.7674, allocations: 19.88 kB / 0.6402 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of Solve: time 0.005668/0.7731, allocations: 1.67 MB / 0.6418 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Jacobian: time 7.594e-06/0.7731, allocations: 0 / 0.6418 GB, free: 15.02 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: ......... 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.0004326/0.7736, allocations: 176.9 kB / 0.642 GB, free: 14.85 MB / 494.1 MB 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");