Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001187/0.001187, allocations: 187.2 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.247/1.247, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1773/0.1773, allocations: 39.96 MB / 310.5 MB, free: 4.012 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.067e-05, allocations: 2.5 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.06574/0.06578, allocations: 82.19 MB / 0.5064 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2505/0.3163, allocations: 28.39 MB / 0.5342 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.318, allocations: 47.12 kB / 0.5342 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.3201, allocations: 0.9758 MB / 0.5352 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.3338, allocations: 5.067 MB / 0.5401 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01355/0.3474, allocations: 5.69 MB / 0.5457 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006016/0.3534, allocations: 4.091 MB / 0.5497 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.3551, allocations: 1.073 MB / 0.5507 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.358, allocations: 1.577 MB / 0.5522 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3597, allocations: 1.154 MB / 0.5534 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.3599, allocations: 141.3 kB / 0.5535 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/0.3764, allocations: 8.044 MB / 0.5614 GB, free: 4 kB / 398.1 MB Notification: Performance of combineBinaries: time 0.00251/0.379, allocations: 2.84 MB / 0.5641 GB, free: 14.39 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001197/0.3802, allocations: 1.797 MB / 0.5659 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.3808, allocations: 290.9 kB / 0.5662 GB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0002997/0.3811, allocations: 56.19 kB / 0.5662 GB, free: 12.41 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.007096/0.3882, allocations: 8.111 MB / 0.5741 GB, free: 4.504 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0004209/0.3886, allocations: 355.8 kB / 0.5745 GB, free: 4.172 MB / 414.1 MB Notification: Performance of Early Inline: time 0.006365/0.395, allocations: 6.342 MB / 0.5807 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simplify1: time 0.0003861/0.3954, allocations: 384.1 kB / 0.581 GB, free: 13.6 MB / 430.1 MB Notification: Performance of Alias: time 0.005364/0.4007, allocations: 5.04 MB / 0.586 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simplify2: time 0.000419/0.4012, allocations: 357 kB / 0.5863 GB, free: 7.82 MB / 430.1 MB Notification: Performance of Events: time 0.001709/0.4029, allocations: 1.618 MB / 0.5879 GB, free: 6.176 MB / 430.1 MB Notification: Performance of Detect States: time 0.001217/0.4041, allocations: 1.312 MB / 0.5892 GB, free: 4.871 MB / 430.1 MB Notification: Performance of Partitioning: time 0.002185/0.4063, allocations: 2.203 MB / 0.5913 GB, free: 2.246 MB / 430.1 MB Notification: Performance of Causalize: time 0.01193/0.4182, allocations: 12.2 MB / 0.6032 GB, free: 5.914 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.004747/0.423, allocations: 4.86 MB / 0.608 GB, free: 1.074 MB / 446.1 MB Notification: Performance of Inline: time 0.009084/0.4321, allocations: 8.874 MB / 0.6166 GB, free: 8.301 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0004521/0.4326, allocations: 339.4 kB / 0.617 GB, free: 7.945 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0008345/0.4335, allocations: 0.8681 MB / 0.6178 GB, free: 7.09 MB / 462.1 MB Notification: Performance of Causalize: time 0.02379/0.4573, allocations: 27.4 MB / 0.6446 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Tearing: time 1.811e-05/0.4573, allocations: 0 / 0.6446 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Initialization: time 1.663e-06/0.4573, allocations: 192 / 0.6446 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Tearing: time 3.171e-05/0.4574, allocations: 11.88 kB / 0.6446 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Categorize: time 7.395e-05/0.4574, allocations: 23.81 kB / 0.6446 GB, free: 14.04 MB / 494.1 MB Notification: Performance of Solve: time 0.003164/0.4606, allocations: 1.679 MB / 0.6462 GB, free: 12.31 MB / 494.1 MB Notification: Performance of Jacobian: time 3.757e-06/0.4606, allocations: 4 kB / 0.6463 GB, free: 12.31 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: ......... 32 * 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: ................. 92 (92) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, SourceP2.medium.state.phase, SourceP2.medium.phase, V2.state_a.phase, V2.state_b.phase, SinkP2.medium.state.phase, SinkP2.medium.phase, SourceP3.medium.state.phase, SourceP3.medium.phase, V3.state_a.phase, V3.state_b.phase, SinkP3.medium.state.phase, SinkP3.medium.phase, SourceP4.medium.state.phase, SourceP4.medium.phase, V4.state_a.phase, V4.state_b.phase, SinkP4.medium.state.phase, SinkP4.medium.phase, $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, $SEV_46[$i1], $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37[$i1], $SEV_36, $SEV_35, $SEV_34[$i1], $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25[$i1], $SEV_24, $SEV_23, $SEV_22[$i1], $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13[$i1], $SEV_12, $SEV_11, $SEV_10[$i1], $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 284 (scalar:268, 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: ........... 371 (scalar:355, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 371 (scalar:355, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0002065/0.4608, allocations: 177.4 kB / 0.6464 GB, free: 12.14 MB / 494.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_226) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, SourceP1.X_in_internal, "Boundary_pT");