Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001289/0.001289, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2313/0.2313, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.574e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.04155/0.04159, allocations: 28.52 MB / 499.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3625/0.4041, allocations: 16.96 MB / 0.5045 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008295/0.405, allocations: 16.09 kB / 0.5045 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009804/0.406, allocations: 256.5 kB / 0.5048 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01716/0.4232, allocations: 4.549 MB / 0.5092 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.4296, allocations: 1.889 MB / 0.5111 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.4316, allocations: 1.085 MB / 0.5121 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.4322, allocations: 295.8 kB / 0.5124 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4334, allocations: 0.5285 MB / 0.5129 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.4376, allocations: 1.872 MB / 0.5148 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.4378, allocations: 41.31 kB / 0.5148 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0186/0.4564, allocations: 6.989 MB / 0.5216 GB, free: 10.53 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001006/0.4574, allocations: 0.8215 MB / 0.5224 GB, free: 10.14 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005309/0.4579, allocations: 0.5177 MB / 0.5229 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.4583, allocations: 83.34 kB / 0.523 GB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001954/0.4585, allocations: 15.06 kB / 0.523 GB, free: 9.801 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: 78 (70) * Number of variables: 78 (78) Notification: Performance of Bindings: time 0.003157/0.4617, allocations: 2.381 MB / 0.5254 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0002888/0.462, allocations: 111.4 kB / 0.5255 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Early Inline: time 0.002452/0.4645, allocations: 1.699 MB / 0.5271 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001896/0.4647, allocations: 108.9 kB / 0.5272 GB, free: 8.242 MB / 382.1 MB Notification: Performance of Alias: time 0.002005/0.4667, allocations: 1.434 MB / 0.5286 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simplify2: time 0.0002067/0.4669, allocations: 108.7 kB / 0.5287 GB, free: 7.309 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003044/0.4672, allocations: 318.8 kB / 0.529 GB, free: 7.051 MB / 382.1 MB Notification: Performance of Events: time 0.0005227/0.4677, allocations: 315.7 kB / 0.5293 GB, free: 6.84 MB / 382.1 MB Notification: Performance of Partitioning: time 0.00073/0.4685, allocations: 0.5355 MB / 0.5299 GB, free: 6.441 MB / 382.1 MB Notification: Performance of Causalize: time 0.003071/0.4716, allocations: 2.286 MB / 0.5321 GB, free: 5.438 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.00134/0.4729, allocations: 1.322 MB / 0.5334 GB, free: 4.43 MB / 382.1 MB Notification: Performance of Inline: time 0.002845/0.4758, allocations: 2.336 MB / 0.5357 GB, free: 2.75 MB / 382.1 MB Notification: Performance of Partitioning: time 0.000124/0.4759, allocations: 91.7 kB / 0.5358 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0005376/0.4764, allocations: 238.8 kB / 0.536 GB, free: 2.508 MB / 382.1 MB Notification: Performance of Causalize: time 0.007316/0.4838, allocations: 5.245 MB / 0.5411 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Tearing: time 2.435e-05/0.4838, allocations: 7.984 kB / 0.5411 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Initialization: time 1.453e-06/0.4838, allocations: 0 / 0.5411 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Tearing: time 1.196e-05/0.4838, allocations: 0 / 0.5411 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Categorize: time 2.737e-05/0.4839, allocations: 7.938 kB / 0.5411 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Solve: time 0.001102/0.485, allocations: 0.7316 MB / 0.5418 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Jacobian: time 4.559e-06/0.485, allocations: 0 / 0.5418 GB, free: 14.25 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: ......... 6 * 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: ................. 22 (22) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $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: ........... 73 (scalar:69, 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: ........... 91 (scalar:87, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 91 (scalar:87, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001791/0.4852, allocations: 53.59 kB / 0.5419 GB, free: 14.2 MB / 398.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_44) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");