Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 108.5 kB / 16.42 MB, free: 6.504 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.001111/0.001111, allocations: 187.8 kB / 17.35 MB, free: 5.727 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.265/1.265, 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/Annex60 1.0.0/package.mo): time 0.2552/0.2552, allocations: 54.96 MB / 325.6 MB, free: 4.84 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/1.993e-05, allocations: 2.281 kB / 456.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3944/0.3944, allocations: 179.4 MB / 0.6213 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.4026, allocations: 7.815 MB / 0.629 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.4031, allocations: 15.94 kB / 0.629 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008598/0.4039, allocations: 317.9 kB / 0.6293 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.406, allocations: 1.1 MB / 0.6304 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.4077, allocations: 0.8309 MB / 0.6312 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4092, allocations: 1.582 MB / 0.6327 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006233/0.4098, allocations: 0.503 MB / 0.6332 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.4114, allocations: 1.012 MB / 0.6342 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.412, allocations: 0.549 MB / 0.6347 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.4121, allocations: 60 kB / 0.6348 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4133, allocations: 0.7835 MB / 0.6356 GB, free: 8.84 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0008164/0.4141, allocations: 1.103 MB / 0.6366 GB, free: 7.727 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004247/0.4145, allocations: 0.6827 MB / 0.6373 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.4147, allocations: 115.7 kB / 0.6374 GB, free: 6.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.773e-05/0.4147, allocations: 31.88 kB / 0.6375 GB, free: 6.891 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 (122) * Number of variables: 126 (120) Notification: Performance of Bindings: time 0.002597/0.4173, allocations: 3.014 MB / 0.6404 GB, free: 3.754 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0001475/0.4175, allocations: 147.8 kB / 0.6405 GB, free: 3.609 MB / 462.1 MB Notification: Performance of Early Inline: time 0.002249/0.4198, allocations: 2.404 MB / 0.6429 GB, free: 1.176 MB / 462.1 MB Notification: Performance of simplify1: time 0.0001801/0.42, allocations: 187.8 kB / 0.6431 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of Alias: time 0.002315/0.4223, allocations: 2.255 MB / 0.6453 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simplify2: time 0.0001637/0.4224, allocations: 179.7 kB / 0.6454 GB, free: 14.43 MB / 478.1 MB Notification: Performance of Events: time 0.0005061/0.423, allocations: 392 kB / 0.6458 GB, free: 14.05 MB / 478.1 MB Notification: Performance of Detect States: time 0.0005503/0.4235, allocations: 0.5145 MB / 0.6463 GB, free: 13.52 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0006777/0.4242, allocations: 0.6719 MB / 0.647 GB, free: 12.78 MB / 478.1 MB Notification: Performance of Causalize: time 0.004649/0.4289, allocations: 4.45 MB / 0.6513 GB, free: 8.336 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.001503/0.4304, allocations: 1.663 MB / 0.6529 GB, free: 6.645 MB / 478.1 MB Notification: Performance of Inline: time 0.002905/0.4333, allocations: 2.97 MB / 0.6558 GB, free: 3.641 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0001224/0.4334, allocations: 107.5 kB / 0.6559 GB, free: 3.527 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001347/0.4336, allocations: 143.8 kB / 0.6561 GB, free: 3.387 MB / 478.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (1) ($RES_SIM_0) [----] senHSen_flow.i_x := -1; [----] for i in 1:1 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], senHSen_flow.substanceName, false) == Modelica.Utilities.Types.Compare.Equal then [----] senHSen_flow.i_x := i; [----] end if; [----] end for; [----] assert(senHSen_flow.i_x > 0, "Substance '" + senHSen_flow.substanceName + "' is not present in medium '" + "Air" + "'. " + "Change medium model to one that has '" + senHSen_flow.substanceName + "' as a substance.", AssertionLevel.error); slice: {}; [ALGO] (1) ($RES_SIM_1) [----] senHLat_flow.i_x := -1; [----] for i in 1:1 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], senHLat_flow.substanceName, false) == Modelica.Utilities.Types.Compare.Equal then [----] senHLat_flow.i_x := i; [----] end if; [----] end for; [----] assert(senHLat_flow.i_x > 0, "Substance '" + senHLat_flow.substanceName + "' is not present in medium '" + "Air" + "'. " + "Change medium model to one that has '" + senHLat_flow.substanceName + "' as a substance.", AssertionLevel.error); slice: {}; Notification: Performance of Causalize: time 0.007035/0.4406, allocations: 7.493 MB / 0.6634 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Tearing: time 9.198e-06/0.4406, allocations: 160 / 0.6634 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Initialization: time 4.01e-07/0.4406, allocations: 0 / 0.6634 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Tearing: time 4.999e-06/0.4407, allocations: 0 / 0.6634 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Categorize: time 1.837e-05/0.4407, allocations: 12.05 kB / 0.6634 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Solve: time 0.001133/0.4418, allocations: 1.15 MB / 0.6645 GB, free: 10.8 MB / 494.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update senHLat_flow.hMed_out with dependencies {senHLat_flow.hMed_out, senHLat_flow.XiActual[senHLat_flow.i_x], senHLat_flow.hActual, senHLat_flow.XiActual[1]}. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update senHSen_flow.hMed_out with dependencies {senHSen_flow.hActual, senHSen_flow.XiActual[senHSen_flow.i_x], senHSen_flow.XiActual[1], senHSen_flow.hMed_out}. Notification: Performance of Jacobian: time 0.001258/0.4431, allocations: 1.221 MB / 0.6657 GB, free: 9.547 MB / 494.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: ............... 1 * Number of algebraic event partitions: ......... 4 * 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: ............................. 4 (4) {senH_flow.h_out, senH.h_out, senHLat_flow.h_out, senHSen_flow.h_out} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 22 (20) {$SEV_21, $SEV_20, $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, $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: ........... 93 (scalar:71, array:22, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, 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: ........... 113 (scalar:91, array:22, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.774e-05/0.4431, allocations: 58.42 kB / 0.6658 GB, free: 9.512 MB / 494.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_87) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sou.X_in_internal, "MassFlowSource_T");