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.00139/0.00139, allocations: 117 kB / 17.1 MB, free: 5.996 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.00122/0.00122, allocations: 195 kB / 18.03 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2505/0.2505, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.05e-05, allocations: 2.281 kB / 442.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.09217/0.09221, allocations: 82.2 MB / 0.5123 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4564/0.5487, allocations: 28.39 MB / 0.5401 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.5523, allocations: 51.88 kB / 0.5401 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003842/0.5561, allocations: 0.978 MB / 0.5411 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02205/0.5782, allocations: 5.094 MB / 0.546 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02246/0.6007, allocations: 5.71 MB / 0.5516 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009582/0.6103, allocations: 4.098 MB / 0.5556 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.6125, allocations: 1.038 MB / 0.5566 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.617, allocations: 1.603 MB / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.6191, allocations: 1.097 MB / 0.5593 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.6194, allocations: 140.8 kB / 0.5594 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/0.6401, allocations: 8.046 MB / 0.5672 GB, free: 2.598 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003527/0.6437, allocations: 2.837 MB / 0.57 GB, free: 1.102 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001238/0.6449, allocations: 1.815 MB / 0.5718 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007288/0.6457, allocations: 293.6 kB / 0.5721 GB, free: 15.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.000487/0.6462, allocations: 58.69 kB / 0.5721 GB, free: 15.91 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.008796/0.655, allocations: 8.28 MB / 0.5802 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0004539/0.6554, allocations: 359.9 kB / 0.5806 GB, free: 12.21 MB / 430.1 MB Notification: Performance of Early Inline: time 0.007713/0.6632, allocations: 6.341 MB / 0.5868 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simplify1: time 0.0006006/0.6638, allocations: 388.9 kB / 0.5871 GB, free: 8.355 MB / 430.1 MB Notification: Performance of Alias: time 0.007386/0.6712, allocations: 5.384 MB / 0.5924 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simplify2: time 0.0006412/0.6718, allocations: 357 kB / 0.5927 GB, free: 2.273 MB / 430.1 MB Notification: Performance of Detect States: time 0.001396/0.6733, allocations: 1.1 MB / 0.5938 GB, free: 1.191 MB / 430.1 MB Notification: Performance of Events: time 0.002094/0.6754, allocations: 1.627 MB / 0.5954 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Partitioning: time 0.002661/0.678, allocations: 2.21 MB / 0.5975 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Causalize: time 0.01113/0.6892, allocations: 8.635 MB / 0.606 GB, free: 3.926 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.00583/0.695, allocations: 4.858 MB / 0.6107 GB, free: 15.1 MB / 462.1 MB Notification: Performance of Inline: time 0.01094/0.706, allocations: 8.866 MB / 0.6194 GB, free: 6.336 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0005821/0.7066, allocations: 343.4 kB / 0.6197 GB, free: 5.969 MB / 462.1 MB Notification: Performance of Cleanup: time 0.001147/0.7078, allocations: 0.871 MB / 0.6206 GB, free: 5.117 MB / 462.1 MB Notification: Performance of Causalize: time 0.02739/0.7352, allocations: 19.91 MB / 0.64 GB, free: 1.016 MB / 478.1 MB Notification: Performance of Tearing: time 5.745e-05/0.7353, allocations: 3.938 kB / 0.64 GB, free: 1.012 MB / 478.1 MB Notification: Performance of Initialization: time 1.383e-06/0.7353, allocations: 0 / 0.64 GB, free: 1.012 MB / 478.1 MB Notification: Performance of Tearing: time 6.18e-05/0.7354, allocations: 19.81 kB / 0.64 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of Categorize: time 0.0001421/0.7355, allocations: 15.94 kB / 0.64 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of Solve: time 0.004276/0.7398, allocations: 1.752 MB / 0.6417 GB, free: 15.18 MB / 494.1 MB Notification: Performance of Jacobian: time 6.673e-06/0.7398, allocations: 3.938 kB / 0.6417 GB, free: 15.17 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.0002162/0.7401, allocations: 180.9 kB / 0.6419 GB, free: 15 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");