Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 106.8 kB / 16.42 MB, free: 6.516 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.001107/0.001107, allocations: 185.5 kB / 17.35 MB, free: 5.73 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.18/1.18, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1547/0.1547, allocations: 38.01 MB / 308.6 MB, free: 5.984 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.776e-05, allocations: 5.375 kB / 433.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.06556/0.06559, allocations: 82.23 MB / 0.5038 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2124/0.278, allocations: 28.42 MB / 0.5315 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.2795, allocations: 51.78 kB / 0.5316 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.2815, allocations: 0.9694 MB / 0.5325 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.2933, allocations: 5.083 MB / 0.5375 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.3063, allocations: 5.69 MB / 0.543 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.3105, allocations: 4.089 MB / 0.547 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.3115, allocations: 1.086 MB / 0.5481 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3133, allocations: 1.582 MB / 0.5496 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.3144, allocations: 1.157 MB / 0.5508 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.3146, allocations: 135.6 kB / 0.5509 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/0.3267, allocations: 8.017 MB / 0.5587 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.002101/0.3289, allocations: 2.853 MB / 0.5615 GB, free: 15.2 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001283/0.3302, allocations: 1.801 MB / 0.5633 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005378/0.3307, allocations: 291.9 kB / 0.5635 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0002828/0.331, allocations: 67.3 kB / 0.5636 GB, free: 13.58 MB / 414.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.006187/0.3372, allocations: 7.955 MB / 0.5714 GB, free: 6.469 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0003157/0.3375, allocations: 354.8 kB / 0.5717 GB, free: 6.137 MB / 414.1 MB Notification: Performance of Early Inline: time 0.006056/0.3436, allocations: 6.383 MB / 0.5779 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplify1: time 0.0003392/0.3439, allocations: 392.1 kB / 0.5783 GB, free: 15.51 MB / 430.1 MB Notification: Performance of Alias: time 0.004879/0.3488, allocations: 5.057 MB / 0.5833 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simplify2: time 0.0003589/0.3492, allocations: 355.6 kB / 0.5836 GB, free: 9.707 MB / 430.1 MB Notification: Performance of Events: time 0.001653/0.3508, allocations: 1.68 MB / 0.5852 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Detect States: time 0.001049/0.3519, allocations: 1.328 MB / 0.5865 GB, free: 6.684 MB / 430.1 MB Notification: Performance of Partitioning: time 0.002017/0.3539, allocations: 2.218 MB / 0.5887 GB, free: 4.082 MB / 430.1 MB Notification: Performance of Causalize: time 0.01139/0.3653, allocations: 12.82 MB / 0.6012 GB, free: 7.492 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.004393/0.3697, allocations: 4.96 MB / 0.6061 GB, free: 2.551 MB / 446.1 MB Notification: Performance of Inline: time 0.007986/0.3777, allocations: 8.797 MB / 0.6147 GB, free: 9.848 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0003555/0.3781, allocations: 334.9 kB / 0.615 GB, free: 9.492 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0007179/0.3788, allocations: 0.8559 MB / 0.6158 GB, free: 8.652 MB / 462.1 MB Notification: Performance of Causalize: time 0.02212/0.4009, allocations: 26.99 MB / 0.6422 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Tearing: time 1.777e-05/0.401, allocations: 0 / 0.6422 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Initialization: time 9.52e-07/0.401, allocations: 0 / 0.6422 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Tearing: time 3.602e-05/0.401, allocations: 15.88 kB / 0.6422 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Categorize: time 6.319e-05/0.4011, allocations: 11.94 kB / 0.6422 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Solve: time 0.002293/0.4034, allocations: 1.378 MB / 0.6435 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Jacobian: time 3.257e-06/0.4034, allocations: 0 / 0.6435 GB, free: 14.51 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: ......... 26 * 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: ................. 95 (95) {source1.medium.state.phase, source1.medium.phase, valve_linear.state_a.phase, valve_linear.state_b.phase, sink1.medium.state.phase, sink1.medium.phase, valve_constant.state_a.phase, valve_constant.state_b.phase, valve_quadratic.state_a.phase, valve_quadratic.state_b.phase, source2.medium.state.phase, source2.medium.phase, sink2.medium.state.phase, sink2.medium.phase, source3.medium.state.phase, source3.medium.phase, sink3.medium.state.phase, sink3.medium.phase, valve_equalPercentage.state_a.phase, valve_equalPercentage.state_b.phase, source4.medium.state.phase, source4.medium.phase, sink4.medium.state.phase, sink4.medium.phase, $SEV_68, $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[$i1], $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38[$i1], $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23[$i1], $SEV_22, $SEV_21, $SEV_20[$i1], $SEV_19, $SEV_18, $SEV_17[$i1], $SEV_16, $SEV_15, $SEV_14[$i1], $SEV_13, $SEV_12, $SEV_11, $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_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: ........... 290 (scalar:274, 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: ........... 357 (scalar:341, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 357 (scalar:341, 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: Performance of backend: time 0.0001221/0.4035, allocations: 171.1 kB / 0.6437 GB, free: 14.37 MB / 494.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_223) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, source1.X_in_internal, "Boundary_pT");