Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 105.1 kB / 16.42 MB, free: 6.512 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.001411/0.001411, allocations: 192.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.41/1.41, 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/Buildings 1.6.0+build.1/package.mo): time 0.4544/0.4544, allocations: 95.47 MB / 366.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.825e-05, allocations: 6.219 kB / 0.5042 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4608/0.4608, allocations: 177.3 MB / 0.6774 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006538/0.4674, allocations: 4.662 MB / 0.6819 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.4678, allocations: 11.94 kB / 0.6819 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.4686, allocations: 226.5 kB / 0.6822 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000708/0.4693, allocations: 333.9 kB / 0.6825 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006041/0.4754, allocations: 2.197 MB / 0.6846 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.4769, allocations: 1.143 MB / 0.6857 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.4774, allocations: 387.6 kB / 0.6861 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007027/0.4781, allocations: 0.4944 MB / 0.6866 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.4786, allocations: 376.3 kB / 0.6869 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.4787, allocations: 52 kB / 0.687 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.4829, allocations: 2.191 MB / 0.6891 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0008319/0.4837, allocations: 0.913 MB / 0.69 GB, free: 252 kB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0003649/0.4841, allocations: 0.5514 MB / 0.6906 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4842, allocations: 91.75 kB / 0.6906 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0001164/0.4843, allocations: 27.86 kB / 0.6907 GB, free: 15.57 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 (92) * Number of variables: 96 (89) Notification: Performance of Bindings: time 0.002552/0.4869, allocations: 2.496 MB / 0.6931 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0002136/0.4871, allocations: 135.8 kB / 0.6932 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Early Inline: time 0.001675/0.4888, allocations: 1.6 MB / 0.6948 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simplify1: time 0.0001306/0.4889, allocations: 123.8 kB / 0.6949 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Alias: time 0.001828/0.4908, allocations: 1.525 MB / 0.6964 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simplify2: time 0.000135/0.4909, allocations: 127.8 kB / 0.6965 GB, free: 9.277 MB / 0.545 GB Notification: Performance of Events: time 0.0003773/0.4913, allocations: 270.9 kB / 0.6968 GB, free: 9.016 MB / 0.545 GB Notification: Performance of Detect States: time 0.0003812/0.4917, allocations: 411.3 kB / 0.6972 GB, free: 8.602 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0006006/0.4923, allocations: 0.5694 MB / 0.6977 GB, free: 7.988 MB / 0.545 GB Notification: Performance of Causalize: time 0.003859/0.4962, allocations: 3.774 MB / 0.7014 GB, free: 4.258 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.001387/0.4976, allocations: 1.323 MB / 0.7027 GB, free: 2.906 MB / 0.545 GB Notification: Performance of Inline: time 0.002311/0.4999, allocations: 2.328 MB / 0.705 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0001021/0.5, allocations: 91.61 kB / 0.7051 GB, free: 456 kB / 0.545 GB Notification: Performance of Cleanup: time 0.0001023/0.5001, allocations: 103.9 kB / 0.7052 GB, free: 352 kB / 0.545 GB 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) [----] senWetBul.wetBulMod.iWat := -1; [----] for i in 1:2 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "Water", false) == Modelica.Utilities.Types.Compare.Equal then [----] senWetBul.wetBulMod.iWat := i; [----] end if; [----] end for; [----] assert(senWetBul.wetBulMod.iWat > 0, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {}; Notification: Performance of Causalize: time 0.006183/0.5063, allocations: 5.941 MB / 0.711 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Tearing: time 1.026e-05/0.5063, allocations: 4 kB / 0.711 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Initialization: time 3.91e-07/0.5063, allocations: 0 / 0.711 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0003332/0.5067, allocations: 282.7 kB / 0.7113 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Categorize: time 1.505e-05/0.5067, allocations: 0 / 0.7113 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Solve: time 0.0008691/0.5076, allocations: 0.7342 MB / 0.712 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.226e-06/0.5076, allocations: 0 / 0.712 GB, free: 9.41 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: ................. 17 (15) {$SEV_10, $SEV_9[$i1], $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3[$i1], $SEV_2, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 81 (scalar:67, array:14, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 94 (scalar:80, array:14, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.501e-05/0.5077, allocations: 46.36 kB / 0.712 GB, free: 9.375 MB / 0.5606 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_62) [----] Modelica.Fluid.Utilities.checkBoundary("Moist air perfect gas", {"water", "air"}, false, true, sin.X_in_internal, "Boundary_pT");