Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001213/0.001213, allocations: 106.2 kB / 16.42 MB, free: 5.988 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.001209/0.001209, allocations: 190.5 kB / 17.36 MB, free: 5.574 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.251/1.251, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.247/0.247, allocations: 54.97 MB / 325.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.57e-05, allocations: 3.266 kB / 456.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3594/0.3594, allocations: 161.6 MB / 0.6039 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.3635, allocations: 3.44 MB / 0.6073 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.3637, allocations: 8.938 kB / 0.6073 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.3646, allocations: 217.9 kB / 0.6075 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.3652, allocations: 322.5 kB / 0.6078 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.3671, allocations: 0.7054 MB / 0.6085 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009504/0.368, allocations: 1.045 MB / 0.6095 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.3685, allocations: 350 kB / 0.6099 GB, free: 436 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000719/0.3692, allocations: 0.519 MB / 0.6104 GB, free: 124 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.3696, allocations: 314.4 kB / 0.6107 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.3696, allocations: 42.97 kB / 0.6107 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.3702, allocations: 411.6 kB / 0.6111 GB, free: 15.74 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0005571/0.3708, allocations: 0.765 MB / 0.6119 GB, free: 15.23 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002843/0.3711, allocations: 471.8 kB / 0.6123 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.3712, allocations: 77.22 kB / 0.6124 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.002e-05/0.3712, allocations: 22.16 kB / 0.6124 GB, free: 14.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 (83) * Number of variables: 87 (80) Notification: Performance of Bindings: time 0.001827/0.3731, allocations: 2.157 MB / 0.6145 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.000143/0.3732, allocations: 116.7 kB / 0.6146 GB, free: 13.13 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001191/0.3744, allocations: 1.315 MB / 0.6159 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simplify1: time 0.0001056/0.3745, allocations: 111 kB / 0.616 GB, free: 12.05 MB / 446.1 MB Notification: Performance of Alias: time 0.001519/0.3761, allocations: 1.54 MB / 0.6175 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simplify2: time 9.465e-05/0.3762, allocations: 98.17 kB / 0.6176 GB, free: 10.88 MB / 446.1 MB Notification: Performance of Events: time 0.0003203/0.3765, allocations: 262.3 kB / 0.6179 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003082/0.3768, allocations: 333 kB / 0.6182 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0004327/0.3772, allocations: 467.4 kB / 0.6186 GB, free: 9.871 MB / 446.1 MB Notification: Performance of Causalize: time 0.002632/0.3799, allocations: 2.847 MB / 0.6214 GB, free: 7.031 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009607/0.3809, allocations: 1.074 MB / 0.6224 GB, free: 5.93 MB / 446.1 MB Notification: Performance of Inline: time 0.001697/0.3826, allocations: 1.877 MB / 0.6243 GB, free: 4.016 MB / 446.1 MB Notification: Performance of Partitioning: time 7.681e-05/0.3827, allocations: 75.61 kB / 0.6244 GB, free: 3.934 MB / 446.1 MB Notification: Performance of Cleanup: time 8.52e-05/0.3827, allocations: 87.83 kB / 0.6244 GB, free: 3.848 MB / 446.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) [----] 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.004369/0.3871, allocations: 4.637 MB / 0.629 GB, free: 15.28 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002512/0.3874, allocations: 298.1 kB / 0.6292 GB, free: 14.94 MB / 462.1 MB Notification: Performance of Initialization: time 1.963e-06/0.3874, allocations: 0 / 0.6292 GB, free: 14.94 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002466/0.3876, allocations: 338.1 kB / 0.6296 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Categorize: time 1.4e-05/0.3877, allocations: 4 kB / 0.6296 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Solve: time 0.0005235/0.3882, allocations: 383.2 kB / 0.6299 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Jacobian: time 2.986e-06/0.3882, allocations: 4 kB / 0.6299 GB, free: 14.18 MB / 462.1 MB 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: ........... 65 (scalar:51, 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: ........... 76 (scalar:62, 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.639e-05/0.3883, allocations: 51.66 kB / 0.63 GB, free: 14.14 MB / 462.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_58) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sin.X_in_internal, "Boundary_pT");