Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001226/0.001226, allocations: 104.1 kB / 16.42 MB, free: 6.492 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.001208/0.001208, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.264/1.264, 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.2+maint.om/package.mo): time 0.1818/0.1818, allocations: 39.96 MB / 310.6 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.837e-05, allocations: 2.281 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.06685/0.06688, allocations: 82.24 MB / 0.5065 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.264/0.3309, allocations: 28.42 MB / 0.5342 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.333, allocations: 48.78 kB / 0.5343 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.3356, allocations: 0.9779 MB / 0.5352 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.35, allocations: 5.07 MB / 0.5402 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.3631, allocations: 5.693 MB / 0.5457 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004995/0.3682, allocations: 4.096 MB / 0.5497 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.3698, allocations: 1.083 MB / 0.5508 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.3725, allocations: 1.577 MB / 0.5523 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.3736, allocations: 1.162 MB / 0.5535 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.3738, allocations: 142.2 kB / 0.5536 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01578/0.3896, allocations: 8.018 MB / 0.5614 GB, free: 16 kB / 398.1 MB Notification: Performance of combineBinaries: time 0.00299/0.3926, allocations: 2.851 MB / 0.5642 GB, free: 14.35 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001146/0.3938, allocations: 1.806 MB / 0.566 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.3943, allocations: 288.6 kB / 0.5663 GB, free: 12.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0002955/0.3946, allocations: 62.75 kB / 0.5663 GB, free: 12.37 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.006916/0.4015, allocations: 7.961 MB / 0.5741 GB, free: 4.602 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0003881/0.4019, allocations: 351.3 kB / 0.5744 GB, free: 4.273 MB / 414.1 MB Notification: Performance of Early Inline: time 0.006459/0.4084, allocations: 6.383 MB / 0.5807 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplify1: time 0.0004008/0.4088, allocations: 389.5 kB / 0.581 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Alias: time 0.005585/0.4144, allocations: 5.062 MB / 0.586 GB, free: 8.18 MB / 430.1 MB Notification: Performance of simplify2: time 0.0003935/0.4148, allocations: 362.7 kB / 0.5863 GB, free: 7.844 MB / 430.1 MB Notification: Performance of Events: time 0.001812/0.4166, allocations: 1.673 MB / 0.588 GB, free: 6.148 MB / 430.1 MB Notification: Performance of Detect States: time 0.001149/0.4178, allocations: 1.327 MB / 0.5892 GB, free: 4.828 MB / 430.1 MB Notification: Performance of Partitioning: time 0.002111/0.4199, allocations: 2.219 MB / 0.5914 GB, free: 2.223 MB / 430.1 MB Notification: Performance of Causalize: time 0.01223/0.4321, allocations: 12.83 MB / 0.6039 GB, free: 5.629 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.004889/0.4371, allocations: 4.943 MB / 0.6088 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of Inline: time 0.008665/0.4458, allocations: 8.802 MB / 0.6174 GB, free: 7.996 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0004734/0.4463, allocations: 334.9 kB / 0.6177 GB, free: 7.641 MB / 462.1 MB Notification: Performance of Cleanup: time 0.00104/0.4473, allocations: 0.8585 MB / 0.6185 GB, free: 6.801 MB / 462.1 MB Notification: Performance of Causalize: time 0.02286/0.4702, allocations: 26.99 MB / 0.6449 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Tearing: time 2.095e-05/0.4703, allocations: 0 / 0.6449 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Initialization: time 1.944e-06/0.4703, allocations: 0 / 0.6449 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Tearing: time 3.545e-05/0.4703, allocations: 11.94 kB / 0.6449 GB, free: 14.04 MB / 494.1 MB Notification: Performance of Categorize: time 7.321e-05/0.4704, allocations: 19.88 kB / 0.6449 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Solve: time 0.00277/0.4732, allocations: 1.368 MB / 0.6463 GB, free: 12.65 MB / 494.1 MB Notification: Performance of Jacobian: time 3.837e-06/0.4732, allocations: 0 / 0.6463 GB, free: 12.65 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.0001632/0.4733, allocations: 179.3 kB / 0.6464 GB, free: 12.5 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");