Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.4 kB / 17.09 MB, free: 6.008 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.001138/0.001138, allocations: 197.5 kB / 18.02 MB, free: 5.086 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.822/1.822, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.287/0.287, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/3.799e-05, allocations: 2.281 kB / 442.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03623/0.03627, allocations: 28.13 MB / 470.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02119/0.05753, allocations: 13.31 MB / 483.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.05829, allocations: 11.88 kB / 483.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.05954, allocations: 254.4 kB / 484.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0156/0.07525, allocations: 3.643 MB / 487.8 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01147/0.08677, allocations: 2.372 MB / 490.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.08911, allocations: 1.001 MB / 491.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.08971, allocations: 261.1 kB / 491.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.09081, allocations: 490.1 kB / 491.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.09128, allocations: 282.8 kB / 492.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.09135, allocations: 36 kB / 492.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.1079, allocations: 6.716 MB / 498.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0009641/0.1089, allocations: 0.7231 MB / 499.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004547/0.1094, allocations: 469.7 kB / 0.4884 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1096, allocations: 71.81 kB / 0.4884 GB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002312/0.1099, allocations: 19.98 kB / 0.4884 GB, free: 11.81 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 (65) * Number of variables: 73 (73) Notification: Performance of Bindings: time 0.003005/0.1129, allocations: 2.169 MB / 0.4906 GB, free: 9.523 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001501/0.113, allocations: 91.77 kB / 0.4906 GB, free: 9.434 MB / 382.1 MB Notification: Performance of Early Inline: time 0.002/0.115, allocations: 1.522 MB / 0.4921 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simplify1: time 9.994e-05/0.1151, allocations: 87.88 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Alias: time 0.001728/0.1169, allocations: 1.268 MB / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001086/0.117, allocations: 87.88 kB / 0.4935 GB, free: 6.312 MB / 382.1 MB Notification: Performance of Events: time 0.0004485/0.1175, allocations: 298.2 kB / 0.4938 GB, free: 6.02 MB / 382.1 MB Notification: Performance of Detect States: time 0.0004138/0.1179, allocations: 352.8 kB / 0.4942 GB, free: 5.66 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0006642/0.1186, allocations: 0.5144 MB / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of Causalize: time 0.002858/0.1214, allocations: 2.102 MB / 0.4967 GB, free: 2.867 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001699/0.1231, allocations: 1.2 MB / 0.4979 GB, free: 1.641 MB / 382.1 MB Notification: Performance of Inline: time 0.002792/0.1259, allocations: 2.105 MB / 0.4999 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001213/0.1261, allocations: 91.55 kB / 0.5 GB, free: 15.41 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001099/0.1262, allocations: 91.84 kB / 0.5001 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Causalize: time 0.003043/0.1292, allocations: 2.28 MB / 0.5023 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Tearing: time 1.159e-05/0.1293, allocations: 0 / 0.5023 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Initialization: time 3.21e-07/0.1293, allocations: 3.938 kB / 0.5023 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Tearing: time 6.893e-06/0.1293, allocations: 7.938 kB / 0.5024 GB, free: 13 MB / 398.1 MB Notification: Performance of Categorize: time 2.27e-05/0.1293, allocations: 4 kB / 0.5024 GB, free: 13 MB / 398.1 MB Notification: Performance of Solve: time 0.0005039/0.1298, allocations: 326.5 kB / 0.5027 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Jacobian: time 4.388e-06/0.1298, allocations: 0 / 0.5027 GB, free: 12.68 MB / 398.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 21 (21) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $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_3, $TEV_2, $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: ........... 70 (scalar:66, array:4, 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: ........... 82 (scalar:78, array:4, 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.0001763/0.13, allocations: 39.34 kB / 0.5027 GB, free: 12.65 MB / 398.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_41) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");