Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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) 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(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 107.5 kB / 18.41 MB, free: 4.508 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.001347/0.001348, allocations: 189.3 kB / 19.35 MB, free: 3.578 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.463/1.463, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.019e-05, allocations: 7.062 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.2817/0.2817, allocations: 62.83 MB / 392 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02424/0.306, allocations: 22.44 MB / 414.4 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.3077, allocations: 32.25 kB / 414.5 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.3097, allocations: 0.7301 MB / 415.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.3265, allocations: 5.808 MB / 421 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.3371, allocations: 3.454 MB / 424.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01602/0.3531, allocations: 9.415 MB / 433.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.3546, allocations: 0.7142 MB / 434.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.3574, allocations: 1.164 MB / 435.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.371, allocations: 7.084 MB / 442.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004566/0.3715, allocations: 96 kB / 442.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/0.3873, allocations: 7.262 MB / 450.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.002886/0.3902, allocations: 2.466 MB / 452.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001662/0.3918, allocations: 1.596 MB / 454.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.3926, allocations: 227.4 kB / 454.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002968/0.3929, allocations: 43.86 kB / 454.5 MB, free: 8.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 (192) * Number of variables: 256 (256) Notification: Performance of Bindings: time 0.008196/0.4011, allocations: 7.467 MB / 462 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0005858/0.4017, allocations: 327.5 kB / 462.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of Early Inline: time 0.00632/0.408, allocations: 5.934 MB / 468.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simplify1: time 0.0003649/0.4084, allocations: 371.5 kB / 468.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of Alias: time 0.004687/0.4131, allocations: 4.304 MB / 472.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simplify2: time 0.000326/0.4135, allocations: 347.5 kB / 473.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Detect States: time 0.0007996/0.4143, allocations: 0.9178 MB / 474.2 MB, free: 4.211 MB / 366.1 MB Notification: Performance of Events: time 0.0008628/0.4151, allocations: 0.7874 MB / 475 MB, free: 3.418 MB / 366.1 MB Notification: Performance of Partitioning: time 0.001831/0.417, allocations: 1.92 MB / 476.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of Causalize: time 0.008244/0.4252, allocations: 7.636 MB / 484.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.004325/0.4296, allocations: 4.041 MB / 488.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of Inline: time 0.01004/0.4397, allocations: 9.183 MB / 497.7 MB, free: 11.62 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0003601/0.44, allocations: 309.7 kB / 498 MB, free: 11.29 MB / 398.1 MB Notification: Performance of Cleanup: time 0.000364/0.4404, allocations: 347.4 kB / 498.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of Causalize: time 0.01221/0.4526, allocations: 10.53 MB / 0.497 GB, free: 272 kB / 398.1 MB Notification: Performance of Tearing: time 0.003651/0.4563, allocations: 3.147 MB / 0.5001 GB, free: 13.03 MB / 414.1 MB Notification: Performance of Initialization: time 1.223e-06/0.4563, allocations: 4 kB / 0.5001 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Tearing: time 0.003492/0.4598, allocations: 3.008 MB / 0.503 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Categorize: time 0.0001018/0.4599, allocations: 15.94 kB / 0.503 GB, free: 9.898 MB / 414.1 MB Notification: Performance of Solve: time 0.002151/0.4621, allocations: 1.04 MB / 0.504 GB, free: 8.836 MB / 414.1 MB Notification: Performance of Jacobian: time 5.47e-06/0.4621, allocations: 3.938 kB / 0.504 GB, free: 8.832 MB / 414.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: ......... 30 * 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: ................. 52 (52) {leftBoundary1.medium.state.phase, rightBoundary1.medium.state.phase, suddenExpansion1.state_a.phase, suddenExpansion1.state_b.phase, suddenExpansion1.state_b_des.phase, suddenExpansion1.state_a_nondes.phase, leftBoundary2.medium.state.phase, rightBoundary2.medium.state.phase, suddenExpansion2.state_a.phase, suddenExpansion2.state_b.phase, suddenExpansion2.state_b_des.phase, suddenExpansion2.state_a_nondes.phase, leftAdaptor.state_a.phase, leftAdaptor.state_b.phase, leftAdaptor.state_b_des.phase, leftAdaptor.state_a_nondes.phase, rightAdaptor.state_a.phase, rightAdaptor.state_b.phase, rightAdaptor.state_b_des.phase, rightAdaptor.state_a_nondes.phase, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10[$i1], $SEV_9, $SEV_8[$i1], $SEV_7, $SEV_6, $SEV_5[$i1], $SEV_4, $SEV_3[$i1], $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 200 (scalar:192, array:8, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 290 (scalar:282, array:8, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.000111/0.4622, allocations: 98.75 kB / 0.5041 GB, free: 8.738 MB / 414.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_142) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, leftBoundary1.X_in_internal, "Boundary_pT");